From 055139ac6aaecc7193972b65d2bcca022969c61d Mon Sep 17 00:00:00 2001 From: p01arst0rm Date: Mon, 21 Oct 2019 17:57:38 +0100 Subject: feat(3p/nix): added meson support (cherry picked from commit 086a81b7a5bbe1fc022efb5935ff68f6ad71ddaf) --- third_party/nix/misc/systemd/meson.build | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 third_party/nix/misc/systemd/meson.build (limited to 'third_party/nix/misc/systemd') diff --git a/third_party/nix/misc/systemd/meson.build b/third_party/nix/misc/systemd/meson.build new file mode 100644 index 000000000000..588f0b3d9d6b --- /dev/null +++ b/third_party/nix/misc/systemd/meson.build @@ -0,0 +1,26 @@ +# nix systemd build file +#============================================================================ + +if (sys_name.contains('linux')) + + systemd_data = [] + + systemd_nix_daemon = configuration_data() + systemd_nix_daemon.set('bindir', bindir) + systemd_nix_daemon.set('storedir', nixstoredir) + systemd_nix_daemon.set('localstatedir', localstatedir) + + systemd_data += configure_file( + input : 'nix-daemon.socket.in', + output : 'nix-daemon.socket', + configuration : systemd_nix_daemon) + + systemd_data += configure_file( + input : 'nix-daemon.service.in', + output : 'nix-daemon.service', + configuration : systemd_nix_daemon) + + install_data( + systemd_data, + install_dir : join_paths(prefix, 'lib/systemd/system')) +endif -- cgit 1.4.1