diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-01-21 21:18:52 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-01-21 21:18:52 +0100 |
commit | 6fadb3fc03a1a3d51a1aaea003bfbe347c3879b3 (patch) | |
tree | 2bd6687cc2c2cb83a9ed4666ed06afb5c8a967ec /src/libexpr/primops.cc | |
parent | 62f712c8aedc08d6478ce9b380a2cf317d7e4d3a (diff) | |
parent | aef635da78d33bf679f49fd10e7130d918a82549 (diff) |
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libexpr/primops.cc')
-rw-r--r-- | src/libexpr/primops.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 2df9277c9..af6c91954 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -732,6 +732,8 @@ static void prim_derivationStrict(EvalState & state, const Pos & pos, Value * * the hash. */ for (auto & i : outputs) { if (!jsonObject) drv.env[i] = ""; + drv.outputs.insert_or_assign(i, + DerivationOutput(StorePath::dummy.clone(), "", "")); } Hash h = hashDerivationModulo(*state.store, Derivation(drv), true); |