mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 03:39:36 +01:00
* 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
|
|
@ -3,7 +3,7 @@ noinst_LIBRARIES = libmain.a
|
|||
libmain_a_SOURCES = shared.cc shared.hh
|
||||
|
||||
AM_CXXFLAGS = \
|
||||
-DNIX_STORE_DIR=\"$(prefix)/store\" \
|
||||
-DNIX_STORE_DIR=\"$(storedir)\" \
|
||||
-DNIX_DATA_DIR=\"$(datadir)\" \
|
||||
-DNIX_STATE_DIR=\"$(localstatedir)/nix\" \
|
||||
-DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue