aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-05-05 18:15:36 -0600
committerQyriad <qyriad@qyriad.me>2024-05-05 18:33:35 -0600
commit3f64344bc81eaf4ae4bb41617dd14313bd870b8c (patch)
tree451ebccf1e7dcccd64a6ad4650d6356e43c1d2a9
parent7cffd7a3b550deb3b2780780fd0226cbc649da9b (diff)
meson: install org.nixos.nix-daemon.plist on macOS
Change-Id: I70079a553ec355be944f9940258f9abf861759fc
-rw-r--r--meson.build9
1 files changed, 9 insertions, 0 deletions
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')