clean aarch64 nix conf

This commit is contained in:
Clément DOUIN 2024-10-29 18:01:21 +01:00
parent 55594cc6a7
commit 61905bb849
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72

View file

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