From e6f0d7250dc6adb6b8e267ae217973c469ff1e55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phan=20Kochen?= Date: Sun, 21 Jan 2024 20:40:42 +0100 Subject: [PATCH] darwin.Libsystem: add missing Darwin.apinotes This apparently affects imports from Swift and, at the time of writing, contains mappings for `CLOCK_*` constants. --- pkgs/os-specific/darwin/apple-sdk-11.0/libSystem.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/os-specific/darwin/apple-sdk-11.0/libSystem.nix b/pkgs/os-specific/darwin/apple-sdk-11.0/libSystem.nix index 7be670425d7a..b661da75febe 100644 --- a/pkgs/os-specific/darwin/apple-sdk-11.0/libSystem.nix +++ b/pkgs/os-specific/darwin/apple-sdk-11.0/libSystem.nix @@ -40,6 +40,7 @@ stdenvNoCC.mkDerivation { cp -d \ ${MacOSX-SDK}/usr/include/*.h \ ${MacOSX-SDK}/usr/include/*.modulemap \ + ${MacOSX-SDK}/usr/include/*.apinotes \ $out/include rm $out/include/tk*.h $out/include/tcl*.h