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:
parent
5755a5c354
commit
087dee6e1b
3 changed files with 2 additions and 190 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue