darwin.CarbonHeaders: remove and replace with stubs

This commit is contained in:
Randy Eckenrode 2024-09-02 19:27:03 -04:00
parent 7a8e3bf86e
commit 2ed29e21b6
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9
3 changed files with 1 additions and 21 deletions

View File

@ -1,20 +0,0 @@
{ 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.apple-psl20;
};
}

View File

@ -261,7 +261,6 @@ developerToolsPackages_11_3_1 // macosPackages_11_0_1 // {
inherit (self.adv_cmds) ps locale;
architecture = applePackage "architecture" "osx-10.11.6" "sha256-cUKeMx6mOAxBSRHIdfzsrR65Qv86m7+20XvpKqVfwVI=" {};
AvailabilityVersions = callPackage ./AvailabilityVersions/package.nix { };
CarbonHeaders = applePackage "CarbonHeaders" "osx-10.6.2" "sha256-UNaHvxzYzEBnYYuoMLqWUVprZa6Wqn/3XleoSCco050=" {};
CommonCrypto = applePackage "CommonCrypto" "osx-10.12.6" "sha256-FLgODBrfv+XsGaAjddncYAm/BIJJYw6LcwX/z7ncKFM=" {};
configd = applePackage "configd" "osx-10.8.5" "sha256-6I3FWNjTgds5abEcZrD++s9b+P9a2+qUf8KFAb72DwI=" {
Security = applePackage "Security/boot.nix" "osx-10.9.5" "sha256-7qr0IamjCXCobIJ6V9KtvbMBkJDfRCy4C5eqpHJlQLI=" {};

View File

@ -69,6 +69,7 @@ makeScopeWithSplicing' {
inherit apple_sdk apple_sdk_10_12 apple_sdk_11_0 apple_sdk_12_3;
} // lib.genAttrs [
"CF"
"CarbonHeaders"
] (mkStub apple_sdk.version);
in