summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--daemon.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon.am b/daemon.am
index e314e4d222..0c9bc9fb69 100644
--- a/daemon.am
+++ b/daemon.am
@@ -105,6 +105,7 @@ libstore_headers =				\
 libstore_a_CPPFLAGS =				\
   $(libutil_a_CPPFLAGS)				\
   -I$(top_srcdir)/nix/libstore			\
+  -I$(top_builddir)/nix/libstore		\
   -DNIX_STORE_DIR=\"$(storedir)\"		\
   -DNIX_DATA_DIR=\"$(datadir)\"			\
   -DNIX_STATE_DIR=\"$(localstatedir)/nix\"	\