meson: install org.nixos.nix-daemon.plist on macOS

Change-Id: I70079a553ec355be944f9940258f9abf861759fc
This commit is contained in:
Qyriad 2024-05-05 18:15:36 -06:00 committed by Nikodem Rabuliński
parent c1573b83ef
commit 36f305f6d6
Signed by: nrabulinski
SSH key fingerprint: SHA256:AZZVyfKStaCo8sbJB+3Rr/CRrlym1oEgw7vMnynJeR8

View file

@ -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')