From 5a54b0a20c80356de5098694353f506e73fb883f Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 29 Mar 2024 18:06:27 +0100 Subject: meson: install systemd files Change-Id: Idacf602fd379c82a051f00df2293cb02c8b286d4 --- misc/systemd/meson.build | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 misc/systemd/meson.build (limited to 'misc/systemd/meson.build') diff --git a/misc/systemd/meson.build b/misc/systemd/meson.build new file mode 100644 index 000000000..26e20af95 --- /dev/null +++ b/misc/systemd/meson.build @@ -0,0 +1,25 @@ +foreach config : [ 'nix-daemon.socket', 'nix-daemon.service' ] + configure_file( + input : config + '.in', + output : config, + install : true, + install_dir : prefix / 'lib/systemd/system', + install_mode : 'rw-r--r--', + configuration : { + 'storedir' : store_dir, + 'localstatedir' : state_dir, + 'bindir' : bindir, + }, + ) +endforeach + +configure_file( + input : 'nix-daemon.conf.in', + output : 'nix-daemon.conf', + install : true, + install_dir : prefix / 'lib/tmpfiles.d', + install_mode : 'rw-r--r--', + configuration : { + 'localstatedir' : state_dir, + }, +) -- cgit v1.2.3