forked from lix-project/lix
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)
This commit is contained in:
parent
7ac038fa4b
commit
96d7170e12
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue