about summary refs log tree commit diff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-11-16T08·27+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-11-16T08·27+0000
commitb7f008fc353ea05c423fb571047144052ce691c3 (patch)
treed2d62977981a0ba8ab7efecab481d80e617f488b /src/libstore/build.cc
parent9311ab76a523de516b6bc98afda9e4b790225514 (diff)
* Did something useful while waiting at IAD: reference scanning is now
  much faster.

Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index e4ff1efd3e15..193974bf83bd 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -1390,10 +1390,7 @@ void DerivationGoal::computeClosure()
 	   in it. */
         PathSet references;
         if (!pathExists(path + "/nix-support/no-scan")) {
-            Paths references2;
-            references2 = filterReferences(path, 
-                Paths(allPaths.begin(), allPaths.end()));
-            references = PathSet(references2.begin(), references2.end());
+            references = scanForReferences(path, allPaths);
 
             /* For debugging, print out the referenced and
                unreferenced paths. */