Hi,

On 03/06/2011 04:39 PM, Michael Raskin wrote:

Author: raskin
Date: Sun Mar  6 15:39:05 2011
New Revision: 26174
URL: https://svn.nixos.org/websvn/nix/?rev=26174&sc=1

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 = "...";
  }

For quick and dirty hacking, you can also set this derivation attribute:

  __noChroot = true;

--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to