[Nix-dev] is there something like unsafeImpureEnvVars?

Eelco Dolstra eelco.dolstra at logicblox.com
Wed Apr 16 00:55:54 CEST 2014


Hi,

On 16/04/14 00:40, Ben Franksen wrote:

> So everything in my sources is patched to use stuff from /nix/store (I 
> checked that the path exists and is executable) and still it complains about 
> some /bin/sh missing?

There are many programs that have a (implicit) dependency on /bin/sh. Notably,
the system() function in Glibc calls /bin/sh. This is why chroots on NixOS do
include /bin/sh (as well as the dynamic library dependencies of /bin/sh).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list