[When you call `pkgs.writeShellApplication`, it checks your script using `shellcheck` and `bash -n`.](https://nixos.org/manual/nixpkgs/stable/#trivial-builder-writeShellApplication) It would be nice if `resholve.writeScript` and `resholve.writeScriptBin` did the same thing.