Unverified Commit 1c2dde0b authored by Randy Eckenrode's avatar Randy Eckenrode
Browse files

darwin.launchd: remove and replace with stubs

parent 2ade0ae6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -262,7 +262,6 @@ developerToolsPackages_11_3_1 // macosPackages_11_0_1 // {
    AvailabilityVersions = callPackage ./AvailabilityVersions/package.nix { };
    copyfile        = callPackage ./copyfile/package.nix { };
    Csu             = callPackage ./Csu/package.nix { };
    launchd         = applePackage "launchd"           "osx-10.9.5"      "sha256-dmV0UK7hG9wvTr+F4Z47nCFXcVZCV+cQ46WbE0DBtJs=" {};
    libclosure      = applePackage "libclosure"        "osx-10.11.6"     "sha256-L5rQ+UBpf3B+W1U+gZKk7fXulslHsc8lxnCsplV+nr0=" {};
    libdispatch     = applePackage "libdispatch"       "osx-10.12.4"     "sha256-xUqoG5JK4P3nXeoVUOBzodVK9fjH/I3xJ6WRtM39bdw=" {};
    libmalloc       = if isSdk10_12 then
+0 −26
Original line number Diff line number Diff line
{ 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
  '';
}
+1 −0
Original line number Diff line number Diff line
@@ -90,6 +90,7 @@ makeScopeWithSplicing' {
    "eap8021x"
    "hfs"
    "hfsHeaders"
    "launchd"
  ] (mkStub apple_sdk.version);
in
impure-cmds // appleSourcePackages // stubs // {