mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Fix macOS build
This commit is contained in:
parent
6051cc954b
commit
a99af85a77
1 changed files with 3 additions and 5 deletions
|
@ -222,11 +222,9 @@ static DerivationOutput parseDerivationOutput(const Store & store,
|
|||
if (hash == "impure") {
|
||||
settings.requireExperimentalFeature(Xp::ImpureDerivations);
|
||||
assert(pathS == "");
|
||||
return DerivationOutput {
|
||||
.output = DerivationOutputImpure {
|
||||
.method = std::move(method),
|
||||
.hashType = std::move(hashType),
|
||||
},
|
||||
return DerivationOutput::Impure {
|
||||
.method = std::move(method),
|
||||
.hashType = std::move(hashType),
|
||||
};
|
||||
} else if (hash != "") {
|
||||
validatePath(pathS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue