From c44cac50eb6d875593b4e445b6a230b7cab20f21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 29 Oct 2024 12:09:41 +0100 Subject: [PATCH] use back apple sdk 11.0 on x86_64-darwin --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index d08443f..d9006ad 100644 --- a/flake.nix +++ b/flake.nix @@ -75,10 +75,10 @@ x86_64-darwin.x86_64-darwin = { rustTarget = "x86_64-apple-darwin"; mkPackage = { pkgs, ... }: package: - let inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Cocoa; + let inherit (pkgs.darwin.apple_sdk_11_0.frameworks) AppKit Cocoa Security; in package // { - buildInputs = [ Cocoa ]; - NIX_LDFLAGS = "-F${AppKit}/Library/Frameworks -framework AppKit"; + buildInputs = [ AppKit Cocoa Security ]; + NIX_LDFLAGS = "-F${AppKit}/Library/Frameworks -framework AppKit -F${Cocoa}/Library/Frameworks -framework Cocoa -F${AppKit}/Library/Frameworks -framework Security"; }; };