aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build.cc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-07-21 09:47:40 -0400
committerGitHub <noreply@github.com>2020-07-21 09:47:40 -0400
commit5ce95b9529ad8c53b4395d98635d035d92913091 (patch)
tree9d42b2746f74abe0a504c9001f8bd0c516c89f0b /src/libstore/build.cc
parentbf0dca77903a0a162d34f21bf79a3142af68ffef (diff)
Update src/libstore/build.cc
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r--src/libstore/build.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 73e29390d..95350356b 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -3725,7 +3725,7 @@ void DerivationGoal::registerOutputs()
DerivationOutputFloating outputHash;
std::visit(overloaded {
[&](DerivationOutputInputAddressed doi) {
- throw Error("No.");
+ assert(false); // Enclosing `if` handles this case in other branch
},
[&](DerivationOutputFixed dof) {
outputHash = DerivationOutputFloating {