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:
parent
9311ab76a5
commit
b7f008fc35
5 changed files with 52 additions and 31 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue