about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--src/nix-env/Makefile.am3
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 720279460ae7..d25ccc5c2820 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 3943a9d9aca9..49282f169992 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