diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-01-18 11:23:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 11:23:23 +0100 |
commit | 00eef5599374608f535bed0daede024c5e24764f (patch) | |
tree | 12c85fe1c4aab479107f38586dd4fce4cdbe3060 /src | |
parent | 1acbb61696c118712417bcd1c59021cc84650e16 (diff) | |
parent | 9432c170e736a6b506d9b35ced5eccff6422ec50 (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.cc | 2 |
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; |