From 3cf1705583ee64137cdebf8f4e50ccffdaf7c756 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 8 Sep 2017 14:46:55 +0200 Subject: [PATCH] nix copy: Don't open the --from store twice --- src/nix/command.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix/command.cc b/src/nix/command.cc index f90d848f2..058a7548c 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -97,7 +97,7 @@ ref StoreCommand::createStore() void StoreCommand::run() { - run(createStore()); + run(getStore()); } StorePathsCommand::StorePathsCommand()