about summary refs log tree commit diff
path: root/src/libmain/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/Makefile.am')
-rw-r--r--src/libmain/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libmain/Makefile.am b/src/libmain/Makefile.am
index a4969ff36777..6d70b0406acc 100644
--- a/src/libmain/Makefile.am
+++ b/src/libmain/Makefile.am
@@ -7,4 +7,5 @@ AM_CXXFLAGS = \
  -DNIX_DATA_DIR=\"$(datadir)\" \
  -DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
  -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
+ -DNIX_VERSION=\"$(VERSION)\" \
  -I.. -I../../externals/inst/include -I../libutil -I../libstore