forked from lix-project/lix
Update src/libstore/build.cc
This commit is contained in:
parent
bf0dca7790
commit
5ce95b9529
|
@ -3725,7 +3725,7 @@ void DerivationGoal::registerOutputs()
|
||||||
DerivationOutputFloating outputHash;
|
DerivationOutputFloating outputHash;
|
||||||
std::visit(overloaded {
|
std::visit(overloaded {
|
||||||
[&](DerivationOutputInputAddressed doi) {
|
[&](DerivationOutputInputAddressed doi) {
|
||||||
throw Error("No.");
|
assert(false); // Enclosing `if` handles this case in other branch
|
||||||
},
|
},
|
||||||
[&](DerivationOutputFixed dof) {
|
[&](DerivationOutputFixed dof) {
|
||||||
outputHash = DerivationOutputFloating {
|
outputHash = DerivationOutputFloating {
|
||||||
|
|
Loading…
Reference in a new issue