From 61905bb849ae61c842296ed51096e49db87c6211 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Tue, 29 Oct 2024 18:01:21 +0100 Subject: [PATCH] clean aarch64 nix conf --- flake.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/flake.nix b/flake.nix index 8fc792c..985dcef 100644 --- a/flake.nix +++ b/flake.nix @@ -73,21 +73,15 @@ x86_64-darwin.x86_64-darwin = { rustTarget = "x86_64-apple-darwin"; mkPackage = { pkgs, ... }: package: - let inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Cocoa Security; + let inherit (pkgs.darwin.apple_sdk_10_12.frameworks) Security; in package // { - buildInputs = [ ]; - # NIX_LDFLAGS = "-F${AppKit}/Library/Frameworks -framework AppKit -F${Cocoa}/Library/Frameworks -framework Cocoa -F${CoreFoundation}/Library/Frameworks -framework CoreFoundation"; + buildInputs = [ Security ]; + NIX_LDFLAGS = "-F${Security}/Library/Frameworks -framework Security"; }; }; aarch64-darwin.aarch64-darwin = { rustTarget = "aarch64-apple-darwin"; - mkPackage = { pkgs, ... }: package: - let inherit (pkgs.darwin.apple_sdk.frameworks) AppKit Cocoa; - in package // { - # buildInputs = [ Cocoa ]; - # NIX_LDFLAGS = "-F${AppKit}/Library/Frameworks -framework AppKit"; - }; }; };