diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-31 16:39:18 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2022-03-31 16:39:18 +0200 |
commit | a99af85a770df462985b621c4c3dd710b8487f44 (patch) | |
tree | bfba53f9e60353554ff5e77fdb366e645138a6b1 /src | |
parent | 6051cc954b990fa57a6d3b75bd4b0aaaceb0ca82 (diff) |
Fix macOS build
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/derivations.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc index cc04119c3..1c695de82 100644 --- a/src/libstore/derivations.cc +++ b/src/libstore/derivations.cc @@ -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); |