Hi,

On 30/01/12 12:40, Peter Simons wrote:

> IHMO, this program should be run by the default builder after $out has been 
> set
> up, to remove redundancy in the generated closures.

No, Nix should do that after the build has completed.  If the Nix DB were to
store the cryptographic hash of every regular file in the store (with an index
from hashes to paths), it would be very easy to do this on the fly.  And
"nix-store --optimise" would become a no-op.

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

Reply via email to