* Allow the location of the store to be specified (--with-store-dir).
* Do not create stuff in localstatedir when doing `make install' (since we may not have write access). In general, installation of constant code/data should be separate from the initialisation of mutable state.
This commit is contained in:
		
							parent
							
								
									fbc48a469c
								
							
						
					
					
						commit
						f34de12140
					
				
					 4 changed files with 8 additions and 2 deletions
				
			
		|  | @ -12,7 +12,7 @@ main.o: help.txt.hh | |||
| AM_CXXFLAGS = \ | ||||
|  -I.. -I../../externals/inst/include -I../libutil -I../libstore -I../libmain | ||||
| 
 | ||||
| install-data-local: | ||||
| init-state-local: | ||||
| 	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix | ||||
| 	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db | ||||
| 	$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue