about summary refs log tree commit diff
path: root/nix.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 4ec8cfe65332..6c7eaadddf32 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -117,10 +117,6 @@ make DESTDIR=$RPM_BUILD_ROOT install
 
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
-# Specify build users group
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/nix
-echo "build-users-group = %{nixbld_group}" > $RPM_BUILD_ROOT%{_sysconfdir}/nix/nix.conf
-
 # make per-user directories
 for d in profiles gcroots;
 do
@@ -138,6 +134,9 @@ cp -p misc/emacs/nix-mode.elc $RPM_BUILD_ROOT%{_emacs_sitelispdir}/
 # we ship this file in the base package
 rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc-%{version}/README
 
+# Get rid of Upstart job.
+rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/init
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT