8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
20 lines
441 B
Nix
20 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;
|
|
};
|
|
}
|