diff --git a/nix.spec.in b/nix.spec.in index e05ce4aeb..e3b2d18ed 100644 --- a/nix.spec.in +++ b/nix.spec.in @@ -49,6 +49,7 @@ make check %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +rm $RPM_BUILD_ROOT/%{_prefix}/etc/nix/nix.conf strip $RPM_BUILD_ROOT/%{_prefix}/bin/* || true %clean