mirror of
https://github.com/NixOS/nix.git
synced 2024-11-23 15:22:27 +00:00
Merge pull request #4459 from NixOS/ca/fix-outputmap-for-no-ca
Fix the drv output map for non ca derivations
This commit is contained in:
commit
00eef55993
@ -914,7 +914,7 @@ LocalStore::queryDerivationOutputMapNoResolve(const StorePath& path_)
|
|||||||
if (realisation)
|
if (realisation)
|
||||||
outputs.insert_or_assign(outputName, realisation->outPath);
|
outputs.insert_or_assign(outputName, realisation->outPath);
|
||||||
else
|
else
|
||||||
outputs.insert_or_assign(outputName, std::nullopt);
|
outputs.insert({outputName, std::nullopt});
|
||||||
}
|
}
|
||||||
|
|
||||||
return outputs;
|
return outputs;
|
||||||
|
Loading…
Reference in New Issue
Block a user