forked from lix-project/nix-eval-jobs
Merge pull request #130 from nix-community/eval-store
Respect passed eval store
This commit is contained in:
commit
1af1893abe
|
@ -399,7 +399,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