1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Get rid of nix.conf.example

No need to duplicate the nix.conf manpage.
This commit is contained in:
Eelco Dolstra 2012-07-09 11:56:55 -04:00
parent 5755a5c354
commit 087dee6e1b
3 changed files with 2 additions and 190 deletions

View file

@ -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;