···262262 ) darwinMinVersion darwinSdkVersion;
263263264264 sdk = pkgs.darwin."apple_sdk_${lib.replaceStrings [ "." ] [ "_" ] darwinSdkVersion}";
265265+ # TODO: Make this unconditional after #229210 has been merged,
266266+ # and the 10.12 SDK is updated to follow the new structure.
267267+ Libsystem = if darwinSdkVersion == "10.12" then pkgs.darwin.Libsystem else sdk.Libsystem;
265268266269 replacePropagatedFrameworks = pkg:
267270 let
···349352 // lib.genAttrs atBuildInputs (input: map mapRuntimeToSDK (args."${input}" or [ ]));
350353351354 mkCC = cc: cc.override {
352352- bintools = cc.bintools.override { libc = sdk.Libsystem; };
353353- libc = sdk.Libsystem;
355355+ bintools = cc.bintools.override { libc = Libsystem; };
356356+ libc = Libsystem;
354357 };
355358 in
356359 # TODO: make this work across all input types and not just propagatedBuildInputs
+27-11
pkgs/top-level/all-packages.nix
···20515205152051620516 aalib = callPackage ../development/libraries/aalib { };
20517205172051820518- abseil-cpp_202103 = callPackage ../development/libraries/abseil-cpp/202103.nix { };
2051920519- abseil-cpp_202206 = callPackage ../development/libraries/abseil-cpp/202206.nix { };
2052020520- abseil-cpp_202301 = callPackage ../development/libraries/abseil-cpp/202301.nix { };
2052120521- abseil-cpp_202308 = callPackage ../development/libraries/abseil-cpp/202308.nix { };
2051820518+ abseil-cpp_202103 = callPackage ../development/libraries/abseil-cpp/202103.nix {
2051920519+ # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib.
2052020520+ stdenv = if stdenv.isDarwin && stdenv.isx86_64
2052120521+ then overrideSDK stdenv { darwinMinVersion = "10.13"; }
2052220522+ else stdenv;
2052320523+ };
2052420524+ abseil-cpp_202206 = callPackage ../development/libraries/abseil-cpp/202206.nix {
2052520525+ # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib.
2052620526+ stdenv = if stdenv.isDarwin && stdenv.isx86_64
2052720527+ then overrideSDK stdenv { darwinMinVersion = "10.13"; }
2052820528+ else stdenv;
2052920529+ };
2053020530+ abseil-cpp_202301 = callPackage ../development/libraries/abseil-cpp/202301.nix {
2053120531+ # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib.
2053220532+ stdenv = if stdenv.isDarwin && stdenv.isx86_64
2053320533+ then overrideSDK stdenv { darwinMinVersion = "10.13"; }
2053420534+ else stdenv;
2053520535+ };
2053620536+ abseil-cpp_202308 = callPackage ../development/libraries/abseil-cpp/202308.nix {
2053720537+ # If abseil-cpp doesn’t have a deployment target of 10.13+, arrow-cpp crashes in libgrpc.dylib.
2053820538+ stdenv = if stdenv.isDarwin && stdenv.isx86_64
2053920539+ then overrideSDK stdenv { darwinMinVersion = "10.13"; }
2054020540+ else stdenv;
2054120541+ };
2052220542 abseil-cpp = abseil-cpp_202301;
20523205432052420544 accountsservice = callPackage ../development/libraries/accountsservice { };
···2180721827 grilo-plugins = callPackage ../development/libraries/grilo-plugins { };
21808218282180921829 grpc = callPackage ../development/libraries/grpc {
2181021810- stdenv = if (stdenv.isDarwin && stdenv.isx86_64) then
2181121811- # Work around Clang check for 10.13 when using aligned allocations with C++17.
2181221812- stdenv.override (old: {
2181321813- hostPlatform = old.hostPlatform // { darwinMinVersion = "10.13"; };
2181421814- buildPlatform = old.buildPlatform // { darwinMinVersion = "10.13"; };
2181521815- targetPlatform = old.targetPlatform // { darwinMinVersion = "10.13"; };
2181621816- })
2183021830+ # Work around Clang check for 10.13 when using aligned allocations with C++17.
2183121831+ stdenv = if stdenv.isDarwin && stdenv.isx86_64
2183221832+ then overrideSDK stdenv { darwinMinVersion = "10.13"; }
2181721833 else stdenv;
2181821834 };
2181921835