diff options
Diffstat (limited to 'misc/systemd/local.mk')
-rw-r--r-- | misc/systemd/local.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/systemd/local.mk b/misc/systemd/local.mk index 004549fd2..1fa037485 100644 --- a/misc/systemd/local.mk +++ b/misc/systemd/local.mk @@ -1,5 +1,7 @@ -ifeq ($(OS), Linux) +ifdef HOST_LINUX $(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644))) + clean-files += $(d)/nix-daemon.socket $(d)/nix-daemon.service + endif |