mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 07:46:21 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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