Install systemd and Upstart stuff only on Linux
This commit is contained in:
parent
048be62484
commit
de8be7c3e0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue