aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/Makefile.am')
-rw-r--r--src/libmain/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am
index 6d70b0406..72126f113 100644
--- a/src/libmain/Makefile.am
+++ b/src/libmain/Makefile.am
@@ -3,7 +3,7 @@ noinst_LIBRARIES = libmain.a
libmain_a_SOURCES = shared.cc shared.hh
AM_CXXFLAGS = \
- -DNIX_STORE_DIR=\"$(prefix)/store\" \
+ -DNIX_STORE_DIR=\"$(storedir)\" \
-DNIX_DATA_DIR=\"$(datadir)\" \
-DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
-DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \