aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/meson.build')
-rw-r--r--src/libstore/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/meson.build b/src/libstore/meson.build
index 7e1c8d548..3fa9f52b7 100644
--- a/src/libstore/meson.build
+++ b/src/libstore/meson.build
@@ -149,7 +149,7 @@ cpp_str_defines = {
'NIX_PREFIX': prefix,
'NIX_STORE_DIR': store_dir,
'NIX_DATA_DIR': datadir,
- 'NIX_STATE_DIR': state_dir,
+ 'NIX_STATE_DIR': state_dir / 'nix',
'NIX_LOG_DIR': log_dir,
'NIX_CONF_DIR': sysconfdir,
'NIX_BIN_DIR': bindir,