Skip to content

Commit 0ea31d1

Browse files
committed
alacritty: use new darwin SDK pattern
With the hope also that this unbreaks alacritty on x86_64-darwin, which currently fails due to not finding _NSPasteboardTypeFileURL symbol.
1 parent ec9d16e commit 0ea31d1

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

pkgs/applications/terminal-emulators/alacritty/default.nix

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,7 @@
2121
, wayland
2222
, xdg-utils
2323

24-
# Darwin Frameworks
25-
, AppKit
26-
, CoreGraphics
27-
, CoreServices
28-
, CoreText
29-
, Foundation
30-
, libiconv
31-
, OpenGL
24+
, apple-sdk_11
3225
}:
3326
let
3427
rpathLibs = [
@@ -72,13 +65,7 @@ rustPlatform.buildRustPackage rec {
7265

7366
buildInputs = rpathLibs
7467
++ lib.optionals stdenv.hostPlatform.isDarwin [
75-
AppKit
76-
CoreGraphics
77-
CoreServices
78-
CoreText
79-
Foundation
80-
libiconv
81-
OpenGL
68+
apple-sdk_11
8269
];
8370

8471
outputs = [ "out" "terminfo" ];

pkgs/top-level/all-packages.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2791,9 +2791,7 @@ with pkgs;
27912791

27922792
### APPLICATIONS/TERMINAL-EMULATORS
27932793

2794-
alacritty = callPackage ../applications/terminal-emulators/alacritty {
2795-
inherit (darwin.apple_sdk_11_0.frameworks) AppKit CoreGraphics CoreServices CoreText Foundation OpenGL;
2796-
};
2794+
alacritty = callPackage ../applications/terminal-emulators/alacritty { };
27972795

27982796
blackbox-terminal = callPackage ../applications/terminal-emulators/blackbox-terminal { };
27992797

0 commit comments

Comments
 (0)