ae91cbe6cc
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
20 lines
431 B
Nix
20 lines
431 B
Nix
{ lib, 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 lib; {
|
|
maintainers = with maintainers; [ copumpkin ];
|
|
platforms = platforms.darwin;
|
|
license = licenses.apsl20;
|
|
};
|
|
}
|