nixpkgs/pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix

14 lines
387 B
Nix

{ stdenv, appleDerivation }:
appleDerivation {
phases = [ "unpackPhase" "installPhase" ];
# No clue why the same file has two different names. Ask Apple!
installPhase = ''
mkdir -p $out/include/ $out/include/servers
cp liblaunch/*.h $out/include
cp liblaunch/bootstrap.h $out/include/servers
cp liblaunch/bootstrap.h $out/include/servers/bootstrap_defs.h
'';
}