[Nix-dev] /bin in chroot builds

Anders F Björklund afb at algonet.se
Wed Apr 21 12:19:15 CEST 2010


Lluís Batlle i Rossell:

> I noticed the nixos nix.conf includes /bin in the build chroot.
>
> I saw that perl, when using the system() command, it runs /bin/sh  
> "on unix", the
> manual says.
>
> In ubuntu, /bin/sh happens to point to /bin/dash, and so that is  
> not able to
> parse a thing like "source $stdenv/setup".

I had to add /lib and /lib64 to the chroot too, before /bin/sh ran...

--anders




More information about the nix-dev mailing list