mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
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 New Issue
Block a user