about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-02-07T14·47+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-02-07T14·47+0000
commit4db4b61380d94c2626b7c4ee2e613b6b6223f803 (patch)
tree0d011170f3876106a83cd76c66ea4f8fbd91d42a /nix.spec.in
parent81de538e46c154267c4fb7e87cf6804aed63f3df (diff)
* Don't install nix.conf (so it won't be overriden when you upgrade an RPM).
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 e05ce4aeb3..e3b2d18ed5 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