From 62860b31ef9060340c480831b7f735b963dcfcbf Mon Sep 17 00:00:00 2001 From: Malo Bourgon Date: Thu, 3 Mar 2022 13:24:14 -0800 Subject: [PATCH] Revert "darwin.apple_sdk.frameworks.IOSurface: use Libsystem instead of xpc (#161561)" This reverts commit 92074a45f308a1c42de2c57233471bfd7cc6189c. --- pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix b/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix index 5f26a14341f..e9121b02116 100644 --- a/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix +++ b/pkgs/os-specific/darwin/apple-sdk-11.0/frameworks.nix @@ -89,7 +89,9 @@ IOBluetooth = { inherit CoreBluetooth IOKit; }; IOBluetoothUI = { inherit IOBluetooth; }; IOKit = {}; - IOSurface = { inherit IOKit Libsystem; }; + # `IOSurface` should depend on `Libsystem` (in place of `xpc`) but this currently causes build + # issues due to incompatibility issues between `Libsystem` and `libcxx`. + IOSurface = { inherit IOKit xpc; }; IOUSBHost = {}; IdentityLookup = {}; ImageCaptureCore = {};