alacritty: use new darwin SDK pattern (#353685)

This commit is contained in:
Emily 2024-11-04 19:53:48 +00:00 committed by GitHub
commit a9089570c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 18 deletions

View File

@ -21,14 +21,7 @@
, wayland
, xdg-utils
# Darwin Frameworks
, AppKit
, CoreGraphics
, CoreServices
, CoreText
, Foundation
, libiconv
, OpenGL
, apple-sdk_11
}:
let
rpathLibs = [
@ -72,13 +65,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = rpathLibs
++ lib.optionals stdenv.hostPlatform.isDarwin [
AppKit
CoreGraphics
CoreServices
CoreText
Foundation
libiconv
OpenGL
apple-sdk_11
];
outputs = [ "out" "terminfo" ];

View File

@ -2791,9 +2791,7 @@ with pkgs;
### APPLICATIONS/TERMINAL-EMULATORS
alacritty = callPackage ../applications/terminal-emulators/alacritty {
inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
};
alacritty = callPackage ../applications/terminal-emulators/alacritty { };
blackbox-terminal = callPackage ../applications/terminal-emulators/blackbox-terminal { };