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\" \