aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-10-16 19:09:46 +0200
committerLudovic Courtès <ludo@gnu.org>2019-10-16 22:53:40 +0200
commit47e99e626b46b2fc433506a822d251de68ad6241 (patch)
tree5c0b17db2138ae1db0ac82c55cd357479fa21ed5 /nix
parent65ecf3a7afcfcb96ec90dc0cabb6b2d1a1d54398 (diff)
downloadguix-47e99e626b46b2fc433506a822d251de68ad6241.tar
guix-47e99e626b46b2fc433506a822d251de68ad6241.tar.gz
daemon: Remove traces of 'NIX_ROOT_FINDER'.
This is a followup to 2e3e5d21988fc2cafb2a9eaf4b00976ea425629d. * build-aux/test-env.in: Remove mentions of 'NIX_ROOT_FINDER'. * nix/libstore/gc.cc (LocalStore::collectGarbage): Adjust comment accordingly.
Diffstat (limited to 'nix')
-rw-r--r--nix/libstore/gc.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/nix/libstore/gc.cc b/nix/libstore/gc.cc
index c466996668..fe152da015 100644
--- a/nix/libstore/gc.cc
+++ b/nix/libstore/gc.cc
@@ -620,10 +620,9 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
foreach (Roots::iterator, i, rootMap) state.roots.insert(i->second);
- /* Add additional roots returned by the program specified by the
- NIX_ROOT_FINDER environment variable. This is typically used
- to add running programs to the set of roots (to prevent them
- from being garbage collected). */
+ /* Add additional roots returned by 'guix gc --list-busy'. This is
+ typically used to add running programs to the set of roots (to prevent
+ them from being garbage collected). */
if (!options.ignoreLiveness)
addAdditionalRoots(*this, state.roots);