about summary refs log tree commit diff
path: root/corepkgs/config.nix.in
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-31T12·13+0200
committerEelco Dolstra <edolstra@gmail.com>2017-03-31T12·13+0200
commitc0745a2531f67f741ea9a5472e523a28ddc02be7 (patch)
treecbf9e67c1b51060015e8998053b9c86eba28585e /corepkgs/config.nix.in
parentc60715e937e3773bbb8a114fc9b9c6577f8c5cb5 (diff)
parenta75475ca611fbc9074792a30740d19fd3a3a6cf7 (diff)
Merge branch 'remove-perl' of https://github.com/shlevy/nix
Diffstat (limited to 'corepkgs/config.nix.in')
-rw-r--r--corepkgs/config.nix.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/corepkgs/config.nix.in b/corepkgs/config.nix.in
index f0f4890a32fd..32ce6b399f26 100644
--- a/corepkgs/config.nix.in
+++ b/corepkgs/config.nix.in
@@ -14,6 +14,9 @@ in rec {
   nixBinDir = fromEnv "NIX_BIN_DIR" "@bindir@";
   nixPrefix = "@prefix@";
   nixLibexecDir = fromEnv "NIX_LIBEXEC_DIR" "@libexecdir@";
+  nixLocalstateDir = "@localstatedir@";
+  nixSysconfDir = "@sysconfdir@";
+  nixStoreDir = fromEnv "NIX_STORE_DIR" "@storedir@";
 
   # If Nix is installed in the Nix store, then automatically add it as
   # a dependency to the core packages. This ensures that they work