aboutsummaryrefslogtreecommitdiff
path: root/misc/systemd/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'misc/systemd/local.mk')
-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 5555818c5..004549fd2 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