mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02: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
|
@ -24,6 +24,7 @@ make
|
|||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
(cd src/nix-store && make DESTDIR=$RPM_BUILD_ROOT init-state-local)
|
||||
strip $RPM_BUILD_ROOT/%{_prefix}/bin/* || true
|
||||
|
||||
%clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue