One more queryDerivationOutputMap should use the eval store param

This commit is contained in:
John Ericson 2023-12-11 14:05:18 -05:00
parent a6b6c5a539
commit 6e67884ff1

View file

@ -658,8 +658,7 @@ void State::processJobsetSharesChange(Connection & conn)
BuildOutput State::getBuildOutputCached(Connection & conn, nix::ref<nix::Store> destStore, const nix::StorePath & drvPath)
{
auto derivationOutputs = localStore->queryDerivationOutputMap(drvPath);
auto derivationOutputs = destStore->queryDerivationOutputMap(drvPath, &*localStore);
{
pqxx::work txn(conn);