mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
9811bf2258
The last commit broken Darwin stdenv. We still need to skip some phases when Apple provides a Makefile that shouldn’t be used.
17 lines
409 B
Nix
17 lines
409 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
appleDerivation {
|
|
dontConfigure = true;
|
|
dontBuild = true;
|
|
installPhase = ''
|
|
mkdir -p $out/include/dispatch $out/include/os
|
|
|
|
# Move these headers so CF can find <os/voucher_private.h>
|
|
mv private/voucher*.h $out/include/os
|
|
cp -r private/*.h $out/include/dispatch
|
|
|
|
cp -r dispatch/*.h $out/include/dispatch
|
|
cp -r os/object*.h $out/include/os
|
|
'';
|
|
}
|