From 7c17f801eb09aa5175835810ea60d66c4384cd16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 29 Oct 2024 10:51:50 +0100 Subject: [PATCH] try to fix macos-13 build --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 53e8864..6f4e3e9 100644 --- a/flake.nix +++ b/flake.nix @@ -76,10 +76,10 @@ 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.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${Security}/Library/Frameworks -framework Security"; }; };