diff --git a/src/nix-eval-jobs.cc b/src/nix-eval-jobs.cc index e20ed5c..41308ff 100644 --- a/src/nix-eval-jobs.cc +++ b/src/nix-eval-jobs.cc @@ -392,7 +392,8 @@ struct Proc { std::make_shared(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) {