1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 00:11:17 +02:00

Give Store::queryDerivationOutputMap and evalStore argument

Picking up where https://github.com/NixOS/nix/pull/9563 left off.
This commit is contained in:
John Ericson 2023-12-10 18:51:23 -05:00
parent b7e016ab24
commit 5f30c8acc7
2 changed files with 3 additions and 3 deletions

View file

@ -547,8 +547,8 @@ std::map<std::string, std::optional<StorePath>> Store::queryPartialDerivationOut
return outputs;
}
OutputPathMap Store::queryDerivationOutputMap(const StorePath & path) {
auto resp = queryPartialDerivationOutputMap(path);
OutputPathMap Store::queryDerivationOutputMap(const StorePath & path, Store * evalStore) {
auto resp = queryPartialDerivationOutputMap(path, evalStore);
OutputPathMap result;
for (auto & [outName, optOutPath] : resp) {
if (!optOutPath)