forked from lix-project/lix
Fix the drv output map for non ca derivations
With the `ca-derivation` experimental features, non-ca derivations used to have their output paths returned as unknown as long as they weren't built (because of a mistake in the code that systematically erased the previous value)
This commit is contained in:
parent
1acbb61696
commit
9432c170e7
|
@ -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 a new issue