about summary refs log tree commit diff
path: root/misc/systemd
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-16T09·16+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-07-16T09·53+0200
commitde8be7c3e06b52c313e0b452b641ad5f90dca2fe (patch)
tree03307bf6604b4251a99f2e2a236079698fb031a0 /misc/systemd
parent048be62484537633e2523dd4d200619649ff860d (diff)
Install systemd and Upstart stuff only on Linux
Diffstat (limited to 'misc/systemd')
-rw-r--r--misc/systemd/local.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/systemd/local.mk b/misc/systemd/local.mk
index 5555818c5278..004549fd2776 100644
--- a/misc/systemd/local.mk
+++ b/misc/systemd/local.mk
@@ -1 +1,5 @@
-$(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
+ifeq ($(OS), Linux)
+
+  $(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
+
+endif