Respect passed eval store

This commit is contained in:
adisbladis 2022-10-18 14:42:02 +13:00
parent 9b0ef420d3
commit e0c27dc984

View file

@ -392,7 +392,8 @@ struct Proc {
std::make_shared<AutoCloseFD>(std::move(toPipe.readSide))}]() {
debug("created worker process %d", getpid());
try {
EvalState state(myArgs.searchPath, openStore());
EvalState state(myArgs.searchPath,
openStore(*myArgs.evalStoreUrl));
Bindings &autoArgs = *myArgs.getAutoArgs(state);
proc(state, autoArgs, *to, *from);
} catch (Error &e) {