Closed sauterp closed 2 months ago
On NixOS #!/bin/bash at the start of a script fails, since the bash is somewhere in /nix/store/. We start each script with #!/usr/bin/env bash since that's supported by most distros AFAIK.
#!/bin/bash
/nix/store/
#!/usr/bin/env bash
Yes. Fix the shebang is required for https://github.com/NixOS/nixpkgs/issues/243368.
On NixOS
#!/bin/bash
at the start of a script fails, since the bash is somewhere in/nix/store/
. We start each script with#!/usr/bin/env bash
since that's supported by most distros AFAIK.