try to fix macos-13 build

This commit is contained in:
Clément DOUIN 2024-10-29 10:51:50 +01:00
parent b6068ef9e7
commit 7c17f801eb
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72

View file

@ -76,10 +76,10 @@
x86_64-darwin = { x86_64-darwin = {
rustTarget = "x86_64-apple-darwin"; rustTarget = "x86_64-apple-darwin";
mkPackage = { pkgs, ... }: package: mkPackage = { pkgs, ... }: package:
let inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Cocoa; let inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Cocoa Security;
in package // { in package // {
buildInputs = [ Cocoa ]; buildInputs = [ AppKit Cocoa Security ];
NIX_LDFLAGS = "-F${AppKit}/Library/Frameworks -framework AppKit"; NIX_LDFLAGS = "-F${AppKit}/Library/Frameworks -framework AppKit -F${Security}/Library/Frameworks -framework Security";
}; };
}; };