aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/meson.build
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-04-09 01:40:24 -0600
committerQyriad <qyriad@qyriad.me>2024-04-09 02:25:58 -0600
commit2a98fe28cb18b117e4eabc8a3e237bf2606d9a51 (patch)
tree93f6ccdb63f441598ec6dfb021ee128b4d58bbf1 /src/libstore/meson.build
parent7e139c52dd901c0feccf6a4f2cbc56673d5e0259 (diff)
meson: correctly set NIX_CONF_DIR to $sysconfdir/nix
Instead of $sysconfdir. Fixes #231, but there's more to do in following commits to make Meson-built Lix actually look in /etc/nix. Change-Id: Ia8d627070f405843add46e05cff5134b76b8eb48
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 3fa9f52b7..652860872 100644
--- a/src/libstore/meson.build
+++ b/src/libstore/meson.build
@@ -151,7 +151,7 @@ cpp_str_defines = {
'NIX_DATA_DIR': datadir,
'NIX_STATE_DIR': state_dir / 'nix',
'NIX_LOG_DIR': log_dir,
- 'NIX_CONF_DIR': sysconfdir,
+ 'NIX_CONF_DIR': sysconfdir / 'nix',
'NIX_BIN_DIR': bindir,
'NIX_MAN_DIR': mandir,
}