[Nix-dev] chroot builds on other Linux platforms

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Dec 28 18:58:24 CET 2012


Hi,

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.

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


More information about the nix-dev mailing list