From f34de121401bb43c6cfab892b2b254e42652ba90 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 16 Feb 2004 15:23:19 +0000 Subject: * 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. --- nix.spec.in | 1 + 1 file changed, 1 insertion(+) (limited to 'nix.spec.in') 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 -- cgit 1.4.1