diff options
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 5 |
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. */ |