mirror of
https://github.com/NixOS/nix
synced 2025-07-18 07:08:27 +02:00
Fix documentation for GC w.r.t. symlinks
This commit is contained in:
parent
a783468333
commit
a17f377f69
1 changed files with 4 additions and 4 deletions
|
@ -12,7 +12,7 @@ $ ln -s /nix/store/d718ef...-foo /nix/var/nix/gcroots/bar
|
||||||
That is, after this command, the garbage collector will not remove
|
That is, after this command, the garbage collector will not remove
|
||||||
`/nix/store/d718ef...-foo` or any of its dependencies.
|
`/nix/store/d718ef...-foo` or any of its dependencies.
|
||||||
|
|
||||||
Subdirectories of `prefix/nix/var/nix/gcroots` are also searched for
|
Subdirectories of `prefix/nix/var/nix/gcroots` are searched
|
||||||
symlinks. Symlinks to non-store paths are followed and searched for
|
recursively. Symlinks to store paths count as roots. Symlinks to
|
||||||
roots, but symlinks to non-store paths *inside* the paths reached in
|
non-store paths are ignored, unless the non-store path is itself a
|
||||||
that way are not followed to prevent infinite recursion.
|
symlink to a store path.
|
Loading…
Add table
Add a link
Reference in a new issue