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

This commit is contained in:
Sandro Jäckel
2021-11-24 15:17:13 -08:00
committed by Jonathan Ringer
parent 3b2d3f65b7
commit 7e9d442837
@@ -73,7 +73,13 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
buildPhase = "ninja -j $NIX_BUILD_CORES";
buildPhase = ''
runHook preBuild
ninja -j $NIX_BUILD_CORES
runHook postBuild
'';
# TODO: their build system sorta kinda can do this, but it doesn't seem to work right now
# Also, this includes a bunch of private headers in the framework, which is not what we want