aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-18 11:23:23 +0100
committerGitHub <noreply@github.com>2021-01-18 11:23:23 +0100
commit00eef5599374608f535bed0daede024c5e24764f (patch)
tree12c85fe1c4aab479107f38586dd4fce4cdbe3060 /src
parent1acbb61696c118712417bcd1c59021cc84650e16 (diff)
parent9432c170e736a6b506d9b35ced5eccff6422ec50 (diff)
Merge pull request #4459 from NixOS/ca/fix-outputmap-for-no-ca
Fix the drv output map for non ca derivations
Diffstat (limited to 'src')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index c61f34275..ab78f1435 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -914,7 +914,7 @@ LocalStore::queryDerivationOutputMapNoResolve(const StorePath& path_)
if (realisation)
outputs.insert_or_assign(outputName, realisation->outPath);
else
- outputs.insert_or_assign(outputName, std::nullopt);
+ outputs.insert({outputName, std::nullopt});
}
return outputs;