about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--nix.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 6dbc1a0f3fa2..9b531dd87b3f 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -53,7 +53,7 @@ make check
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
-rm $RPM_BUILD_ROOT/%{_prefix}/etc/nix/nix.conf
+rm $RPM_BUILD_ROOT/etc/nix/nix.conf
 strip $RPM_BUILD_ROOT/%{_prefix}/bin/* || true
 
 %clean