about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
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