nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
677 stars 24 forks source link

WIP: Only regenerate gc root if store path changes #42

Open Profpatsch opened 3 years ago

Profpatsch commented 3 years ago

Rephrasing of https://github.com/target/lorri/pull/498.

Instead of keeping the state in memory, we should readlink the file on the filesystem, if possible with a lock. There’s also a few TODOs related to the atomicity of the whole process.

So far only documentation changes.