diff --git a/Makefile.am b/Makefile.am index 720279460a..d25ccc5c28 100644 --- a/Makefile.am +++ b/Makefile.am @@ -18,6 +18,7 @@ init-state: $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db $(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix + $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles $(INSTALL) -d $(DESTDIR)$(prefix)/store # $(bindir)/nix-store --init else diff --git a/src/nix-env/Makefile.am b/src/nix-env/Makefile.am index 3943a9d9ac..49282f1699 100644 --- a/src/nix-env/Makefile.am +++ b/src/nix-env/Makefile.am @@ -14,6 +14,3 @@ main.o: help.txt.hh AM_CXXFLAGS = \ -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \ -I../libexpr -I../libmain - -install-data-local: - $(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles