mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
darwin.CF: Add pre-/postBuild hooks to buildPhase
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user