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 , 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" ];

View File

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