diff options
author | regnat <rg@regnat.ovh> | 2021-06-12 12:24:53 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-06-12 12:24:53 +0200 |
commit | 96d7170e12c75acf363bf7a5a081a86b3c384384 (patch) | |
tree | 5b205bb7d49ab52162ec29e456a9caf308cc9f52 /src/libstore/misc.cc | |
parent | 7ac038fa4b83aaeff0b4dcf97b912cd7fd5f0ef6 (diff) |
Don’t check the `deriver` field on computeFSClosure
That doesn’t really make sense with CA derivations (and wasn’t even
really correct before because of FO derivations, though that probably
didn’t matter much in practice)
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r-- | src/libstore/misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc index 3e54bfd8f..48442563f 100644 --- a/src/libstore/misc.cc +++ b/src/libstore/misc.cc @@ -30,7 +30,7 @@ void Store::computeFSClosure(const StorePathSet & startPaths, if (includeDerivers && path.isDerivation()) for (auto& [_, maybeOutPath] : queryPartialDerivationOutputMap(path)) - if (maybeOutPath && isValidPath(*maybeOutPath) && queryPathInfo(*maybeOutPath)->deriver == path) + if (maybeOutPath && isValidPath(*maybeOutPath)) res.insert(*maybeOutPath); return res; }; |