mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
clean aarch64 nix conf
This commit is contained in:
parent
55594cc6a7
commit
61905bb849
1 changed files with 3 additions and 9 deletions
12
flake.nix
12
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue