[Nix-dev] Concurrent garbage collection

Vincent Laporte vincent.laporte at irisa.fr
Wed Oct 1 02:58:33 CEST 2014


Hi,

Out of curiosity, I wonder what happens if the garbage collection
(nix-collect-garbage) is run while some other process builds a package
(nix-build or nix-env -i), both operating on the same store at the same
time.

In particular, the collector may remove a path that is a dependency of a
package being built. How do you address this issue?

Thanks,
--
Vincent.


More information about the nix-dev mailing list