mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
Install systemd and Upstart stuff only on Linux
This commit is contained in:
parent
048be62484
commit
de8be7c3e0
2 changed files with 10 additions and 2 deletions
|
@ -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