mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Generalize DerivationType
in preparation for impure derivations
This commit is contained in:
parent
049fae155a
commit
a544ed7684
9 changed files with 148 additions and 95 deletions
|
@ -300,7 +300,7 @@ connected:
|
|||
|
||||
std::set<Realisation> missingRealisations;
|
||||
StorePathSet missingPaths;
|
||||
if (settings.isExperimentalFeatureEnabled(Xp::CaDerivations) && !derivationHasKnownOutputPaths(drv.type())) {
|
||||
if (settings.isExperimentalFeatureEnabled(Xp::CaDerivations) && !drv.type().hasKnownOutputPaths()) {
|
||||
for (auto & outputName : wantedOutputs) {
|
||||
auto thisOutputHash = outputHashes.at(outputName);
|
||||
auto thisOutputId = DrvOutput{ thisOutputHash, outputName };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue