mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +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.
21 lines
441 B
Nix
21 lines
441 B
Nix
{ stdenv, appleDerivation }:
|
|
|
|
appleDerivation {
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/include
|
|
cp MacTypes.h $out/include
|
|
cp ConditionalMacros.h $out/include
|
|
|
|
substituteInPlace $out/include/MacTypes.h \
|
|
--replace "CarbonCore/" ""
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|