diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-24T16·33+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-24T16·44+0100 |
commit | 28e7e29abdcdaf60ba8a5fad3738fe4a8f3db9a8 (patch) | |
tree | 12755f285c04a9b83ec0d304e8776cbe0ca602a2 /src/libstore/store-api.cc | |
parent | 5a64e66268471d2141e5b5c72b9658644c113414 (diff) |
Eliminate reserveSpace flag
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 9f72bbd83ea3..7058249f06da 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -320,7 +320,7 @@ void Store::exportPaths(const Paths & paths, namespace nix { -ref<Store> openStoreAt(const std::string & uri, bool reserveSpace) +ref<Store> openStoreAt(const std::string & uri) { if (std::string(uri, 0, 7) == "file://") { auto store = make_ref<LocalBinaryCacheStore>(std::shared_ptr<Store>(0), @@ -345,13 +345,13 @@ ref<Store> openStoreAt(const std::string & uri, bool reserveSpace) return mode == mDaemon ? (ref<Store>) make_ref<RemoteStore>() - : (ref<Store>) make_ref<LocalStore>(reserveSpace); + : (ref<Store>) make_ref<LocalStore>(); } -ref<Store> openStore(bool reserveSpace) +ref<Store> openStore() { - return openStoreAt(getEnv("NIX_REMOTE"), reserveSpace); + return openStoreAt(getEnv("NIX_REMOTE")); } |