alacritty: use new darwin SDK pattern (#353685)
This commit is contained in:
commit
a9089570c5
@ -21,14 +21,7 @@
|
|||||||
, wayland
|
, wayland
|
||||||
, xdg-utils
|
, xdg-utils
|
||||||
|
|
||||||
# Darwin Frameworks
|
, apple-sdk_11
|
||||||
, AppKit
|
|
||||||
, CoreGraphics
|
|
||||||
, CoreServices
|
|
||||||
, CoreText
|
|
||||||
, Foundation
|
|
||||||
, libiconv
|
|
||||||
, OpenGL
|
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
rpathLibs = [
|
rpathLibs = [
|
||||||
@ -72,13 +65,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
buildInputs = rpathLibs
|
buildInputs = rpathLibs
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
AppKit
|
apple-sdk_11
|
||||||
CoreGraphics
|
|
||||||
CoreServices
|
|
||||||
CoreText
|
|
||||||
Foundation
|
|
||||||
libiconv
|
|
||||||
OpenGL
|
|
||||||
];
|
];
|
||||||
|
|
||||||
outputs = [ "out" "terminfo" ];
|
outputs = [ "out" "terminfo" ];
|
||||||
|
@ -2791,9 +2791,7 @@ with pkgs;
|
|||||||
|
|
||||||
### APPLICATIONS/TERMINAL-EMULATORS
|
### APPLICATIONS/TERMINAL-EMULATORS
|
||||||
|
|
||||||
alacritty = callPackage ../applications/terminal-emulators/alacritty {
|
alacritty = callPackage ../applications/terminal-emulators/alacritty { };
|
||||||
inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
|
|
||||||
};
|
|
||||||
|
|
||||||
blackbox-terminal = callPackage ../applications/terminal-emulators/blackbox-terminal { };
|
blackbox-terminal = callPackage ../applications/terminal-emulators/blackbox-terminal { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user