diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-07-15 14:28:33 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-07-22 09:59:51 +0200 |
commit | 2ff3035cf4d5167d180878d69cb47b31890a24c4 (patch) | |
tree | 3d081690249c1cd460fb7d58fdf0214735dea4c6 /src/nix-instantiate/nix-instantiate.cc | |
parent | 3d9de41a5b86520ff0c994dc7ac1023d2a441083 (diff) |
Support --eval-store in nix-instantiate and nix-build
Diffstat (limited to 'src/nix-instantiate/nix-instantiate.cc')
-rw-r--r-- | src/nix-instantiate/nix-instantiate.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-instantiate/nix-instantiate.cc b/src/nix-instantiate/nix-instantiate.cc index 95903d882..a269c5b5c 100644 --- a/src/nix-instantiate/nix-instantiate.cc +++ b/src/nix-instantiate/nix-instantiate.cc @@ -153,6 +153,7 @@ static int main_nix_instantiate(int argc, char * * argv) settings.readOnlyMode = true; auto store = openStore(); + auto evalStore = myArgs.evalStoreUrl ? openStore(*myArgs.evalStoreUrl) : store; auto state = std::make_unique<EvalState>(myArgs.searchPath, store); state->repair = repair; |