kitty: Fix compilation on apple sdk 11

Closes https://github.com/NixOS/nixpkgs/pull/137512.
This commit is contained in:
Zhong Jianxin 2021-09-12 18:52:09 +08:00 committed by Luflosi
parent aa1932ea7a
commit 5025d2fcf9
No known key found for this signature in database
GPG Key ID: 4E41E29EDCC345D0

View File

@ -6,6 +6,7 @@
librsync,
installShellFiles,
dbus,
darwin,
Cocoa,
CoreGraphics,
Foundation,
@ -47,6 +48,8 @@ buildPythonApplication rec {
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