Fix macOS build

This commit is contained in:
Eelco Dolstra 2022-03-31 16:39:18 +02:00
parent 6051cc954b
commit a99af85a77

View file

@ -222,11 +222,9 @@ static DerivationOutput parseDerivationOutput(const Store & store,
if (hash == "impure") {
settings.requireExperimentalFeature(Xp::ImpureDerivations);
assert(pathS == "");
return DerivationOutput {
.output = DerivationOutputImpure {
return DerivationOutput::Impure {
.method = std::move(method),
.hashType = std::move(hashType),
},
};
} else if (hash != "") {
validatePath(pathS);