Marc Weber wrote:

Michael Raskin has been right. Having an atomic operation is a design
goal. I've forgotten about that.
Anyway:

time cp -RP .nix-profile .nix-profile2
shows < 0.01s

This just copies the top-level symlink, so it's a O(1) time operation.  Try

$ time cp -prd .nix-profile/ .nix-profile2

real    0m0.692s
user    0m0.036s
sys     0m0.528s

--
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