1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

* Input sources should be in the set of all referenceable paths too.

This commit is contained in:
Eelco Dolstra 2005-02-11 16:03:47 +00:00
parent 3a99616968
commit 80870d9291
2 changed files with 6 additions and 6 deletions

View file

@ -903,15 +903,15 @@ bool DerivationGoal::prepareBuild()
% drvPath % *j % i->first);
}
debug(format("added input paths %1%") % showPaths(inputPaths));
allPaths.insert(inputPaths.begin(), inputPaths.end());
/* Second, the input sources. */
for (PathSet::iterator i = drv.inputSrcs.begin();
i != drv.inputSrcs.end(); ++i)
computeFSClosure(*i, inputPaths);
debug(format("added input paths %1%") % showPaths(inputPaths));
allPaths.insert(inputPaths.begin(), inputPaths.end());
return true;
}