Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/libstore/globals.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ Settings settings;
static GlobalConfig::Register rSettings(&settings);

Settings::Settings()
: nixPrefix(NIX_PREFIX)
, nixStore(
: nixStore(
#ifndef _WIN32
// On Windows `/nix/store` is not a canonical path, but we dont'
// want to deal with that yet.
Expand Down
2 changes: 0 additions & 2 deletions src/libstore/include/nix/store/globals.hh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ public:

static unsigned int getDefaultCores();

Path nixPrefix;

/**
* The directory where we store sources and derived files.
*/
Expand Down
1 change: 0 additions & 1 deletion src/libstore/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ endif
# Aside from prefix itself, each of these was made into an absolute path
# by joining it with prefix, unless it was already an absolute path
# (which is the default for store-dir, localstatedir, and log-dir).
configdata_priv.set_quoted('NIX_PREFIX', prefix)
configdata_priv.set_quoted('NIX_STORE_DIR', store_dir)
configdata_priv.set_quoted('NIX_DATA_DIR', datadir)
configdata_priv.set_quoted('NIX_STATE_DIR', localstatedir / 'nix')
Expand Down
Loading