about summary refs log tree commit diff
path: root/src/shared.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared.cc')
-rw-r--r--src/shared.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared.cc b/src/shared.cc
index bd165ce9781b..bfd7498de16d 100644
--- a/src/shared.cc
+++ b/src/shared.cc
@@ -16,6 +16,7 @@ static void initAndRun(int argc, char * * argv)
 {
     /* Setup Nix paths. */
     nixStore = NIX_STORE_DIR;
+    nixDataDir = NIX_DATA_DIR;
     nixLogDir = NIX_LOG_DIR;
     nixDB = (string) NIX_STATE_DIR + "/nixstate.db";