about summary refs log tree commit diff
path: root/src/libstore/gc.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-07-20T13·21+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-07-20T13·21+0000
commita4273156c43db7325d27cb21e460b57a998ee882 (patch)
tree5df69cee910afca2df45ceb26e5e16ba79b43dee /src/libstore/gc.cc
parent410760c5ab696779bfd26bbd8026827ec436a201 (diff)
* Use $(libexecdir) to find find-runtime-roots.pl.
Diffstat (limited to 'src/libstore/gc.cc')
-rw-r--r--src/libstore/gc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index f25aabb3dc..d646dd3dec 100644
--- a/src/libstore/gc.cc
+++ b/src/libstore/gc.cc
@@ -319,7 +319,7 @@ static void findRoots(const Path & path, bool recurseSymlinks,
 static void addAdditionalRoots(PathSet & roots)
 {
     Path rootFinder = getEnv("NIX_ROOT_FINDER",
-        "/nix/libexec/nix/find-runtime-roots.pl"); /* !!! */
+        nixLibexecDir + "/nix/find-runtime-roots.pl");
 
     if (rootFinder.empty()) return;