kitty: use apple_sdk_11 and mark as broken on x86_64-darwin
This commit is contained in:
parent
da48047d8f
commit
3126ef6a40
2 changed files with 7 additions and 5 deletions
|
@ -7,12 +7,13 @@
|
|||
, openssl
|
||||
, installShellFiles
|
||||
, dbus
|
||||
, darwin
|
||||
, Cocoa
|
||||
, CoreGraphics
|
||||
, Foundation
|
||||
, IOKit
|
||||
, Kernel
|
||||
, UniformTypeIdentifiers
|
||||
, UserNotifications
|
||||
, OpenGL
|
||||
, libcanberra
|
||||
, libicns
|
||||
|
@ -51,11 +52,11 @@ buildPythonApplication rec {
|
|||
IOKit
|
||||
Kernel
|
||||
OpenGL
|
||||
UniformTypeIdentifiers
|
||||
UserNotifications
|
||||
libpng
|
||||
python3
|
||||
zlib
|
||||
] ++ lib.optionals (stdenv.isDarwin && (builtins.hasAttr "UserNotifications" darwin.apple_sdk.frameworks)) [
|
||||
darwin.apple_sdk.frameworks.UserNotifications
|
||||
] ++ lib.optionals stdenv.isLinux [
|
||||
fontconfig libunistring libcanberra libX11
|
||||
libXrandr libXinerama libXcursor libxkbcommon libXi libXext
|
||||
|
@ -218,6 +219,7 @@ buildPythonApplication rec {
|
|||
license = licenses.gpl3Only;
|
||||
changelog = "https://sw.kovidgoyal.net/kitty/changelog/";
|
||||
platforms = platforms.darwin ++ platforms.linux;
|
||||
broken = (stdenv.isDarwin && stdenv.isx86_64);
|
||||
maintainers = with maintainers; [ tex rvolosatovs Luflosi adamcstephens ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1884,9 +1884,9 @@ with pkgs;
|
|||
|
||||
kermit-terminal = callPackage ../applications/terminal-emulators/kermit-terminal { };
|
||||
|
||||
kitty = callPackage ../applications/terminal-emulators/kitty {
|
||||
kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty {
|
||||
harfbuzz = harfbuzz.override { withCoreText = stdenv.isDarwin; };
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel OpenGL;
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) Cocoa CoreGraphics Foundation IOKit Kernel UniformTypeIdentifiers OpenGL UserNotifications;
|
||||
};
|
||||
|
||||
kitty-themes = callPackage ../misc/kitty-themes {};
|
||||
|
|
Loading…
Reference in a new issue