about summary refs log tree commit diff
path: root/misc/upstart/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'misc/upstart/local.mk')
-rw-r--r--misc/upstart/local.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/upstart/local.mk b/misc/upstart/local.mk
index 249262d4f787..a73dc061e4fc 100644
--- a/misc/upstart/local.mk
+++ b/misc/upstart/local.mk
@@ -1 +1,5 @@
-$(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
+ifeq ($(OS), Linux)
+
+  $(foreach n, nix-daemon.conf, $(eval $(call install-file-in, $(d)/$(n), $(sysconfdir)/init, 0644)))
+
+endif