summaryrefslogtreecommitdiffstats
path: root/nix.spec.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-08 13:51:34 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-08 13:51:34 +0200
commit76cbf55a6d8953e393ba39896ccbb0948bac96d6 (patch)
tree676ba037317e0d3ba31af6fe134e59bfdd97ae51 /nix.spec.in
parent89f923281335f695d4199e1fafaaeeb1729ba2d3 (diff)
Ensure that systemd units to into lib, not lib64
http://hydra.nixos.org/build/10170940
Diffstat (limited to 'nix.spec.in')
-rw-r--r--nix.spec.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/nix.spec.in b/nix.spec.in
index 1457308d1..4ec8cfe65 100644
--- a/nix.spec.in
+++ b/nix.spec.in
@@ -158,8 +158,8 @@ chgrp %{nixbld_group} /nix/store
chmod 1775 /nix/store
%if ! 0%{?rhel}
# Enable and start Nix worker
-systemctl enable nix-daemon.service
-systemctl start nix-daemon.service
+systemctl enable nix-daemon.socket nix-daemon.service
+systemctl start nix-daemon.socket
%endif
%files
@@ -169,6 +169,7 @@ systemctl start nix-daemon.service
%exclude %dir %{perl_vendorarch}/auto/
%{_prefix}/libexec/*
%if ! 0%{?rhel}
+%{_prefix}/lib/systemd/system/nix-daemon.socket
%{_prefix}/lib/systemd/system/nix-daemon.service
%endif
%{_datadir}/emacs/site-lisp/nix-mode.el