* Don't create $(localstatedir)/nix/profiles if --disable-init-state
is specified.
This commit is contained in:
		
							parent
							
								
									b6df68c942
								
							
						
					
					
						commit
						d7238bc84e
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -18,6 +18,7 @@ init-state:
 | 
				
			||||||
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
 | 
						$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
 | 
				
			||||||
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
 | 
						$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
 | 
				
			||||||
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
 | 
						$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
 | 
				
			||||||
 | 
						$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles
 | 
				
			||||||
	$(INSTALL) -d $(DESTDIR)$(prefix)/store
 | 
						$(INSTALL) -d $(DESTDIR)$(prefix)/store
 | 
				
			||||||
#	$(bindir)/nix-store --init
 | 
					#	$(bindir)/nix-store --init
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,6 +14,3 @@ main.o: help.txt.hh
 | 
				
			||||||
AM_CXXFLAGS = \
 | 
					AM_CXXFLAGS = \
 | 
				
			||||||
 -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \
 | 
					 -I.. ${bdb_include} ${aterm_include} -I../libutil -I../libstore \
 | 
				
			||||||
 -I../libexpr -I../libmain
 | 
					 -I../libexpr -I../libmain
 | 
				
			||||||
 | 
					 | 
				
			||||||
install-data-local:
 | 
					 | 
				
			||||||
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue