From f32cdc4fab1bff919c3d074a95e32a9934eb7386 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 23 Oct 2017 19:34:49 +0200 Subject: Turn $NIX_REMOTE into a configuration option --- src/nix/command.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/nix/command.cc') diff --git a/src/nix/command.cc b/src/nix/command.cc index 0f6bb294b38c..70d642605d88 100644 --- a/src/nix/command.cc +++ b/src/nix/command.cc @@ -78,9 +78,6 @@ bool MultiCommand::processArgs(const Strings & args, bool finish) StoreCommand::StoreCommand() { - storeUri = getEnv("NIX_REMOTE"); - - mkFlag(0, "store", "store-uri", "URI of the Nix store to use", &storeUri); } ref StoreCommand::getStore() @@ -92,7 +89,7 @@ ref StoreCommand::getStore() ref StoreCommand::createStore() { - return openStore(storeUri); + return openStore(); } void StoreCommand::run() -- cgit 1.4.1