mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
21 lines
431 B
Nix
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;
|
|
};
|
|
}
|