aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-12-16 12:48:44 +0100
committerGitHub <noreply@github.com>2020-12-16 12:48:44 +0100
commit3765174691590e690296284f717a6f3a326e3345 (patch)
treebd3a13cc7d5f65c696b3e58784d6a67ca33282a2 /src/libexpr
parentc64208d6f8e22d6e11f189d23113e9ea4f48e61e (diff)
parente9b39f6004ec68f062230514534b08033cf133c7 (diff)
Merge pull request #4348 from NixOS/ca/use-hashmodulo
Use the hash modulo in the derivation outputs
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index 63624c520..e9c1f3b43 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1107,7 +1107,7 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * *
// Shouldn't happen as the toplevel derivation is not CA.
assert(false);
},
- [&](UnknownHashes) {
+ [&](DeferredHash _) {
for (auto & i : outputs) {
drv.outputs.insert_or_assign(i,
DerivationOutput {