mirror of
https://github.com/NixOS/nix
synced 2025-06-29 10:31:15 +02:00
Fix DerivationOutputExtensional name
This commit is contained in:
parent
06a4e15478
commit
a7884970c5
4 changed files with 8 additions and 8 deletions
|
@ -15,7 +15,7 @@ template<class... Ts> overloaded(Ts...) -> overloaded<Ts...>;
|
|||
StorePath DerivationOutput::path(const Store & store, string drvName) const
|
||||
{
|
||||
return std::visit(overloaded {
|
||||
[](DerivationOutputIntensional doi) {
|
||||
[](DerivationOutputExtensional doi) {
|
||||
return doi.path;
|
||||
},
|
||||
[&](DerivationOutputFixed dof) {
|
||||
|
@ -142,7 +142,7 @@ static DerivationOutput parseDerivationOutput(const Store & store, istringstream
|
|||
};
|
||||
} else
|
||||
return DerivationOutput {
|
||||
.output = DerivationOutputIntensional {
|
||||
.output = DerivationOutputExtensional {
|
||||
.path = std::move(path),
|
||||
}
|
||||
};
|
||||
|
@ -450,7 +450,7 @@ static DerivationOutput readDerivationOutput(Source & in, const Store & store)
|
|||
};
|
||||
} else
|
||||
return DerivationOutput {
|
||||
.output = DerivationOutputIntensional {
|
||||
.output = DerivationOutputExtensional {
|
||||
.path = std::move(path),
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue