Ensure that systemd units to into lib, not lib64
http://hydra.nixos.org/build/10170940
This commit is contained in:
parent
89f9232813
commit
76cbf55a6d
|
@ -1 +1 @@
|
||||||
$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(libdir)/systemd/system, 0644)))
|
$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
|
||||||
|
|
|
@ -158,8 +158,8 @@ chgrp %{nixbld_group} /nix/store
|
||||||
chmod 1775 /nix/store
|
chmod 1775 /nix/store
|
||||||
%if ! 0%{?rhel}
|
%if ! 0%{?rhel}
|
||||||
# Enable and start Nix worker
|
# Enable and start Nix worker
|
||||||
systemctl enable nix-daemon.service
|
systemctl enable nix-daemon.socket nix-daemon.service
|
||||||
systemctl start nix-daemon.service
|
systemctl start nix-daemon.socket
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
@ -169,6 +169,7 @@ systemctl start nix-daemon.service
|
||||||
%exclude %dir %{perl_vendorarch}/auto/
|
%exclude %dir %{perl_vendorarch}/auto/
|
||||||
%{_prefix}/libexec/*
|
%{_prefix}/libexec/*
|
||||||
%if ! 0%{?rhel}
|
%if ! 0%{?rhel}
|
||||||
|
%{_prefix}/lib/systemd/system/nix-daemon.socket
|
||||||
%{_prefix}/lib/systemd/system/nix-daemon.service
|
%{_prefix}/lib/systemd/system/nix-daemon.service
|
||||||
%endif
|
%endif
|
||||||
%{_datadir}/emacs/site-lisp/nix-mode.el
|
%{_datadir}/emacs/site-lisp/nix-mode.el
|
||||||
|
|
Loading…
Reference in a new issue