4 ms·
There's a /bin/sh because libc needs it, but we're going to remove that one too in the future somehow. But /usr/bin/env is in nixos to make it easy for people
by Lethalman 11y ago
There's a /bin/sh because libc needs it, but we're going to remove that one too in the future somehow.
But /usr/bin/env is in nixos to make it easy for people to run scripts. But packages never use /usr/bin/env, it's just there for convenience.
- millstone 11y agoOk, if env is supplied then scripts can at least use it to locate Python, etc. which makes a lot of sense. The text made it sound like these directories did not exist at all.