6a41dae49a91059d5996124717042c1b657b05b7
Original-Author: picnoir <picnoir@alternativebit.fr> Inspired from https://github.com/NixOS/nix/pull/11922/commits/ced8d311a593fcf9c3823e4e118474ac132d8e60 and adapted for Lix needs. TL;DR: The topological sort should ensure that it is possible to delete the path iterated upon. Nonetheless, in some cases, `invalidatePathChecked` can still throw `PathInUse`, the exception bubbles up and cancel the garbage collection procedure, leaving the rest of the paths untouched. This change ensure that the error is logged for further investigation but doesn't prevent the GC to continue when it can. After code review, we decided to make it a `printInfo` to inform the user about sudden "in use" dependencies during garbage collection and let them re-run garbage collection if they care about this. References: https://github.com/NixOS/nix/issues/11923 References: https://git.lix.systems/lix-project/lix/issues/621 Change-Id: I5606c9afd16b5faa747b713fde2dc24016990ba3 Signed-off-by: Raito Bezarius <raito@lix.systems>
Lix
Lix is an implementation of Nix, a powerful package management system for Linux and other Unix systems that makes package management reliable and reproducible.
Read more about us at https://lix.systems.
Installation
On Linux and macOS the easiest way to install Lix is to run the following shell command (as a user other than root):
$ curl -sSf -L https://install.lix.systems/lix | sh -s -- install
For systems that already have a Nix implementation installed, such as NixOS systems, read our install page
Building And Developing
See our Hacking guide in our manual for instruction on how to to set up a development environment and build Lix from source.
Additional Resources
License
Lix is released under LGPL-2.1-or-later.
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
92 MiB
Languages
C++
74.9%
Python
11.7%
Nix
6.1%
Shell
3.6%
Meson
2%
Other
1.6%