From 664a743c8432db043e1774e8a615447f38643bfd Mon Sep 17 00:00:00 2001 From: Vedran Mendelski Date: Sun, 29 Sep 2024 20:42:22 +0200 Subject: [PATCH] fix_:override apple_sdk to use version 11.0 for macOS builds - Updated overlay.nix to override the default `apple_sdk` version for macOS builds. - Resolved issue with missing component of SDK in x86_64 builds by setting `darwin.apple_sdk` to `apple_sdk_11_0`. --- nix/overlay.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nix/overlay.nix b/nix/overlay.nix index d8f6b2d1a12..cf8f635b0bd 100644 --- a/nix/overlay.nix +++ b/nix/overlay.nix @@ -70,4 +70,7 @@ in rec { }) ]; })); + + # Override darwin.apple_sdk globally + darwin.apple_sdk = prev.darwin.apple_sdk_11_0; }