forked from lix-project/lix
Fix macOS build
This commit is contained in:
parent
6051cc954b
commit
a99af85a77
|
@ -222,11 +222,9 @@ static DerivationOutput parseDerivationOutput(const Store & store,
|
||||||
if (hash == "impure") {
|
if (hash == "impure") {
|
||||||
settings.requireExperimentalFeature(Xp::ImpureDerivations);
|
settings.requireExperimentalFeature(Xp::ImpureDerivations);
|
||||||
assert(pathS == "");
|
assert(pathS == "");
|
||||||
return DerivationOutput {
|
return DerivationOutput::Impure {
|
||||||
.output = DerivationOutputImpure {
|
.method = std::move(method),
|
||||||
.method = std::move(method),
|
.hashType = std::move(hashType),
|
||||||
.hashType = std::move(hashType),
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
} else if (hash != "") {
|
} else if (hash != "") {
|
||||||
validatePath(pathS);
|
validatePath(pathS);
|
||||||
|
|
Loading…
Reference in a new issue