From e0c27dc9840de943065b5f3d8535151a8d0d1233 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Tue, 18 Oct 2022 14:42:02 +1300 Subject: [PATCH] Respect passed eval store --- src/nix-eval-jobs.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {