mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
use back apple sdk 11.0 on x86_64-darwin
This commit is contained in:
parent
7b55da8c40
commit
c44cac50eb
1 changed files with 3 additions and 3 deletions
|
@ -75,10 +75,10 @@
|
||||||
x86_64-darwin.x86_64-darwin = {
|
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_11_0.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${Cocoa}/Library/Frameworks -framework Cocoa -F${AppKit}/Library/Frameworks -framework Security";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue