[Nix-dev] Re: Disable build-use-chroot on command line

Yury G. Kudryashov urkud+nix at ya.ru
Wed Aug 17 16:10:57 CEST 2011


Eelco Dolstra wrote:

> Hi,
> 
> On 08/16/2011 02:58 PM, Marco Maggesi wrote:
> 
>> I have some odd hacks that do not work when the setting
>> `build-use-chroot' is true. Is it possible to disable this setting with a
>> command line switch on the nix-build invocation?
> 
> Yes, "nix-build --option build-use-chroot false".  However this doesn't
> work when you're building through the Nix daemon.
So, the full command line:
sudo env -u NIX_REMOTE nix-build --option build-use-chroot false ...




More information about the nix-dev mailing list