Yes

Mac@programming.dev to Programmer Humor@programming.dev – 774 points –
79

You are viewing a single comment

#!/bin/bash doesn't work on NixOS since bash is in the nix store somewhere, #!/usr/bin/env bash resolves the correct location regardless of where bash is

Are there any distos with /usr/bin/env in a different spot? I still believe that's the best approach for getting bash.

4 more...
4 more...