Merge pull request #130 from nix-community/eval-store

Respect passed eval store
This commit is contained in:
adisbladis 2022-10-18 14:51:11 +13:00 committed by GitHub
commit 1af1893abe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -399,7 +399,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) {