>> Log:
>> Adding a possibility to add more paths to chroots used by nix-daemons. The 
>> use-case is building the latest version from repository with very large 
>> checkouts. That way you do not get extra copy in store every time you 
>> rebuild, and you can implement a saner version checking than checksumming 
>> all the data
>
>While I don't object to the option in principle, I think this use case 
>is misguided.  If you want to make a copy of something in /var/dist 
>without having it copied to the store, just do
>
>   fetchurl {
>     url = file:///var/dist/...;
>     sha256 = "...";
>   }

I have an entire directory, and it is updated fequently, so if you
modified the option to a form you can tolerate, I will keep using it.

Thanks for the advice (both this one and in IRC).

>For quick and dirty hacking, you can also set this derivation attribute:
>
>   __noChroot = true;

I wanted something less dirty, if possible



_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to