summary refs log tree commit diff
path: root/pkgs/os-specific/darwin/apple-source-releases/launchd/default.nix
blob: 67e051d56853ebaae54c5fa371aedc37af1568aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ appleDerivation', stdenvNoCC }:

appleDerivation' stdenvNoCC {
  # 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
  '';

  appleHeaders = ''
    bootstrap.h
    bootstrap_priv.h
    launch.h
    launch_internal.h
    launch_priv.h
    reboot2.h
    servers/bootstrap.h
    servers/bootstrap_defs.h
    vproc.h
    vproc_internal.h
    vproc_priv.h
  '';
}