about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09T15·56-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-09T15·56-0400
commit087dee6e1b673b1e49f7c49fa0f05eb651bb5e94 (patch)
tree7d00738603c8787df04c868a2697b74b75ffb5f6 /nix.spec.in
parent5755a5c354c8b622fae14a32b9f8f6f901fb9529 (diff)
Get rid of nix.conf.example
No need to duplicate the nix.conf manpage.
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 44ea8d7c9476..29e53c0c350e 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -121,10 +121,7 @@ ln -sf %{_libdir}/nix/libNixStore.so.0 Store.so
 popd
 
 # Specify build users group
-sed -i "s|#build-users-group =$|build-users-group = %{nixbld_group}|" \
-  $RPM_BUILD_ROOT%{_sysconfdir}/nix/nix.conf
-# ... and delete the example configuration
-rm $RPM_BUILD_ROOT%{_sysconfdir}/nix/nix.conf.example
+echo "build-users-group = %{nixbld_group}" > $RPM_BUILD_ROOT%{_sysconfdir}/nix/nix.conf
 
 # make per-user directories
 for d in profiles gcroots;