about summary refs log tree commit diff
path: root/third_party/nix/misc/systemd/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/misc/systemd/local.mk')
-rw-r--r--third_party/nix/misc/systemd/local.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/nix/misc/systemd/local.mk b/third_party/nix/misc/systemd/local.mk
new file mode 100644
index 000000000000..004549fd2776
--- /dev/null
+++ b/third_party/nix/misc/systemd/local.mk
@@ -0,0 +1,5 @@
+ifeq ($(OS), Linux)
+
+  $(foreach n, nix-daemon.socket nix-daemon.service, $(eval $(call install-file-in, $(d)/$(n), $(prefix)/lib/systemd/system, 0644)))
+
+endif