diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-07-27T15·14+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-08-10T16·05+0200 |
commit | 2fad86f361d5f6a4896a0364e313f61384945111 (patch) | |
tree | c3f119f5260845e5bae15db6c32090521ff3e719 /src/libstore/globals.cc | |
parent | be64fbb50129356a03d8b7fe08d3ef3809a4a82a (diff) |
Remove $NIX_DB_DIR
This variable has no reason to exist, given $NIX_STATE_DIR.
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r-- | src/libstore/globals.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc index c12178e4028a..7bf48be378f8 100644 --- a/src/libstore/globals.cc +++ b/src/libstore/globals.cc @@ -69,7 +69,6 @@ void Settings::processEnvironment() nixDataDir = canonPath(getEnv("NIX_DATA_DIR", NIX_DATA_DIR)); nixLogDir = canonPath(getEnv("NIX_LOG_DIR", NIX_LOG_DIR)); nixStateDir = canonPath(getEnv("NIX_STATE_DIR", NIX_STATE_DIR)); - nixDBPath = getEnv("NIX_DB_DIR", nixStateDir + "/db"); nixConfDir = canonPath(getEnv("NIX_CONF_DIR", NIX_CONF_DIR)); nixLibexecDir = canonPath(getEnv("NIX_LIBEXEC_DIR", NIX_LIBEXEC_DIR)); nixBinDir = canonPath(getEnv("NIX_BIN_DIR", NIX_BIN_DIR)); |