diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-02T17·04+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-05-02T17·05+0200 |
commit | 40250f23a0a301bb758e7f0f21fcd09b702e0e1e (patch) | |
tree | 9252243f66879c3489f2beb5b62fcfb87e46b113 /nix.spec.in | |
parent | 6dd10873961d45fd246b48ad82b7f05ad3d4d077 (diff) |
Don't install Upstart job on Fedora
Also, don't install a nix.conf anymore, it's not needed. http://hydra.nixos.org/build/10775854
Diffstat (limited to 'nix.spec.in')
-rw-r--r-- | nix.spec.in | 7 |
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 |