ec92d4d331
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
20 lines
456 B
Nix
20 lines
456 B
Nix
{ lib, appleDerivation', stdenvNoCC }:
|
|
|
|
appleDerivation' stdenvNoCC {
|
|
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 lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|