Closed adamretter closed 5 years ago
For example NixOS does not have the expected system shells in /usr/bin. Instead the env command can be used to find the location of a shell.
/usr/bin
env
In the generated scripts instead of #!/usr/bin/sh we should use #!/usr/bin/env sh
#!/usr/bin/sh
#!/usr/bin/env sh
For example NixOS does not have the expected system shells in
/usr/bin
. Instead theenv
command can be used to find the location of a shell.In the generated scripts instead of
#!/usr/bin/sh
we should use#!/usr/bin/env sh