From 3f64344bc81eaf4ae4bb41617dd14313bd870b8c Mon Sep 17 00:00:00 2001 From: Qyriad Date: Sun, 5 May 2024 18:15:36 -0600 Subject: [PATCH] meson: install org.nixos.nix-daemon.plist on macOS Change-Id: I70079a553ec355be944f9940258f9abf861759fc --- meson.build | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meson.build b/meson.build index 968255ef6..6231175e6 100644 --- a/meson.build +++ b/meson.build @@ -458,6 +458,15 @@ if cxx.get_id() in ['clang', 'gcc'] ) endif +if is_darwin + configure_file( + input : 'misc/launchd/org.nixos.nix-daemon.plist.in', + output : 'org.nixos.nix-daemon.plist', + copy : true, + install_dir : prefix / 'Library/LaunchDaemons', + ) +endif + subdir('src') subdir('scripts') subdir('misc')