Respect passed eval store
This commit is contained in:
parent
9b0ef420d3
commit
e0c27dc984
|
@ -392,7 +392,8 @@ struct Proc {
|
||||||
std::make_shared<AutoCloseFD>(std::move(toPipe.readSide))}]() {
|
std::make_shared<AutoCloseFD>(std::move(toPipe.readSide))}]() {
|
||||||
debug("created worker process %d", getpid());
|
debug("created worker process %d", getpid());
|
||||||
try {
|
try {
|
||||||
EvalState state(myArgs.searchPath, openStore());
|
EvalState state(myArgs.searchPath,
|
||||||
|
openStore(*myArgs.evalStoreUrl));
|
||||||
Bindings &autoArgs = *myArgs.getAutoArgs(state);
|
Bindings &autoArgs = *myArgs.getAutoArgs(state);
|
||||||
proc(state, autoArgs, *to, *from);
|
proc(state, autoArgs, *to, *from);
|
||||||
} catch (Error &e) {
|
} catch (Error &e) {
|
||||||
|
|
Loading…
Reference in a new issue