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"; }; };