This website requires JavaScript.
Explore
Help
Sign In
NixOS
/
nix
Watch
1
Star
0
Fork
You've already forked nix
0
mirror of
https://github.com/NixOS/nix
synced
2024-09-19 23:03:53 -04:00
Code
Activity
5818e8eeaf
nix
/
scripts
/
nix-collect-garbage.in
3 lines
48 B
Plaintext
Raw
Normal View
History
Unescape
Escape
* Move root finding from `nix-collect-garbage' to `nix-store --gc'. This was necessary becase root finding must be done after acquisition of the global GC lock. This makes `nix-collect-garbage' obsolete; it is now just a wrapper around `nix-store --gc'. * Automatically remove stale GC roots (i.e., indirect GC roots that point to non-existent paths).
2005-02-01 10:05:32 -05:00
#! @shell@ -e
exec @bindir@/nix-store --gc "$@"
Copy permalink