[Nix-dev] Re: [Nix-commits] SVN commit: nix - r26174	-	nixos/trunk/modules/services/misc
    Michael Raskin 
    7c6f434c at mail.ru
       
    Mon Mar  7 10:51:40 CET 2011
    
    
  
>> 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
    
    
More information about the nix-dev
mailing list