[Nix-dev] chroot builds on other Linux platforms
Sander van der Burg - EWI
S.vanderBurg at tudelft.nl
Sun Dec 30 00:37:06 CET 2012
AWESOME!! I'm gonna try it out right away! Well... maybe tomorrow :P
________________________________________
From: nix-dev-bounces at lists.science.uu.nl [nix-dev-bounces at lists.science.uu.nl] on behalf of Eelco Dolstra [eelco.dolstra at logicblox.com]
Sent: Saturday, December 29, 2012 11:09 PM
To: Nix-dev
Subject: Re: [Nix-dev] chroot builds on other Linux platforms
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/
_______________________________________________
nix-dev mailing list
nix-dev at lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list