darwin.CF: Add pre-/postBuild hooks to buildPhase

authored by Sandro Jäckel and committed by Jonathan Ringer 7e9d4428 3b2d3f65

+7 -1
+7 -1
pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix
··· 73 73 74 74 enableParallelBuilding = true; 75 75 76 - buildPhase = "ninja -j $NIX_BUILD_CORES"; 76 + buildPhase = '' 77 + runHook preBuild 78 + 79 + ninja -j $NIX_BUILD_CORES 80 + 81 + runHook postBuild 82 + ''; 77 83 78 84 # TODO: their build system sorta kinda can do this, but it doesn't seem to work right now 79 85 # Also, this includes a bunch of private headers in the framework, which is not what we want