1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

* Did something useful while waiting at IAD: reference scanning is now

much faster.
This commit is contained in:
Eelco Dolstra 2005-11-16 08:27:06 +00:00
parent 9311ab76a5
commit b7f008fc35
5 changed files with 52 additions and 31 deletions

View file

@ -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. */