diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-04-30 13:04:56 +0200 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-11-24 15:17:13 -0800 |
commit | 7e9d4428373f780aed525bb5fc4d25d9d1117421 (patch) | |
tree | 077fa46c4646290c3f62e0617896f736cbb63af6 /pkgs/os-specific/darwin | |
parent | 3b2d3f65b799d4c682fb4b0cf025f0812429faa4 (diff) | |
download | nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.tar nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.tar.gz nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.tar.bz2 nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.tar.lz nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.tar.xz nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.tar.zst nixpkgs-7e9d4428373f780aed525bb5fc4d25d9d1117421.zip |
darwin.CF: Add pre-/postBuild hooks to buildPhase
Diffstat (limited to 'pkgs/os-specific/darwin')
-rw-r--r-- | pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix b/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix index d16cc3a12c7..bfe862eb395 100644 --- a/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix +++ b/pkgs/os-specific/darwin/swift-corelibs/corefoundation.nix @@ -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 |