diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-11T16·03+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-02-11T16·03+0000 |
commit | 80870d9291813f265a6e078c92aa535ef0b70a47 (patch) | |
tree | cf68380d6b9094789f2bc90670f70771d0e4f09b /src/libstore/build.cc | |
parent | 3a99616968a7ffcc8f51bda7a781d3233aa9b428 (diff) |
* Input sources should be in the set of all referenceable paths too.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index e71201785e1d..1aa3e37babd8 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -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; } |