[Nix-dev] chroot builds on other Linux platforms
Eelco Dolstra
eelco.dolstra at logicblox.com
Sat Dec 29 23:09:39 CET 2012
Hi,
On 28/12/12 18:58, Eelco Dolstra wrote:
> On 28/12/12 18:41, Sander van der Burg - EWI wrote:
>
>> A possible solution is to bind mount a different directory from my host system
>> (only containing the shell) into the the chroot environment.
>
> It would have to be a statically linked shell, otherwise you'll need /lib as well.
>
>> Is there an option to achieve this, or must Nix be extended to do this?
>
> It's not currently possible, see https://github.com/NixOS/nix/issues/24.
FWIW, I've implemented this now.
--
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
More information about the nix-dev
mailing list