diff options
Diffstat (limited to 'third_party/nix/misc/launchd/meson.build')
-rw-r--r-- | third_party/nix/misc/launchd/meson.build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/nix/misc/launchd/meson.build b/third_party/nix/misc/launchd/meson.build new file mode 100644 index 000000000000..c7f362cdf239 --- /dev/null +++ b/third_party/nix/misc/launchd/meson.build @@ -0,0 +1,19 @@ +# nix launchd build file +#============================================================================ + +if (sys_name.contains('darwin')) + + launchd_data = [] + + org_nixos_nix_dameon_plist = configuration_data() + org_nixos_nix_dameon_plist.set('bindir', bindir) + + launchd_data += configure_file( + input : 'org.nixos.nix-daemon.plist.in', + output : 'org.nixos.nix-daemon.plist', + configuration : org_nixos_nix_dameon_plist) + + install_data( + corepkgs_data, + install_dir : join_paths(prefix, 'Library/LaunchDaemons')) +endif |