diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-08T12·46+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-08T12·46+0200 |
commit | 3cf1705583ee64137cdebf8f4e50ccffdaf7c756 (patch) | |
tree | 486365e7bf923c79fc5d756e6ce2074756108b01 /src/nix/command.cc | |
parent | 8f6b347abd93706e36cf67fc4c53a46c7ad1ad49 (diff) |
nix copy: Don't open the --from store twice
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r-- | src/nix/command.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc index f90d848f2a40..058a7548c893 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -97,7 +97,7 @@ ref<Store> StoreCommand::createStore() void StoreCommand::run() { - run(createStore()); + run(getStore()); } StorePathsCommand::StorePathsCommand() |