diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2022-03-18 00:36:52 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2022-03-18 14:59:56 +0000 |
commit | a544ed7684bdf5fa3c0b78d40913f5be3f73f5a7 (patch) | |
tree | f77f54edd0a598d2e31b11e25a44cd01bc40a0f7 /src/libstore/parsed-derivations.cc | |
parent | 049fae155a18784ca59d194bf3e579fadbc3b48f (diff) |
Generalize `DerivationType` in preparation for impure derivations
Diffstat (limited to 'src/libstore/parsed-derivations.cc')
-rw-r--r-- | src/libstore/parsed-derivations.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/parsed-derivations.cc b/src/libstore/parsed-derivations.cc index 8c65053e4..f2288a04e 100644 --- a/src/libstore/parsed-derivations.cc +++ b/src/libstore/parsed-derivations.cc @@ -93,7 +93,7 @@ StringSet ParsedDerivation::getRequiredSystemFeatures() const StringSet res; for (auto & i : getStringsAttr("requiredSystemFeatures").value_or(Strings())) res.insert(i); - if (!derivationHasKnownOutputPaths(drv.type())) + if (!drv.type().hasKnownOutputPaths()) res.insert("ca-derivations"); return res; } |