nixpkgs/pkgs/os-specific/darwin/apple-source-releases/CarbonHeaders/default.nix
2021-01-25 18:31:47 +01:00

21 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;
};
}