about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2004-02-16T15·23+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2004-02-16T15·23+0000
commitf34de121401bb43c6cfab892b2b254e42652ba90 (patch)
tree7d421aefeabf597679a81a92139c9a338be2cfdd /nix.spec.in
parentfbc48a469c80201f0d159a9b9f48a22ce5f36984 (diff)
* 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.

Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 6fdd93e9f2e9..e2537960e23e 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -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