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, librsync,
installShellFiles, installShellFiles,
dbus, dbus,
darwin,
Cocoa, Cocoa,
CoreGraphics, CoreGraphics,
Foundation, Foundation,
@ -47,6 +48,8 @@ buildPythonApplication rec {
libpng libpng
python3 python3
zlib zlib
] ++ lib.optionals (stdenv.isDarwin && (builtins.hasAttr "UserNotifications" darwin.apple_sdk.frameworks)) [
darwin.apple_sdk.frameworks.UserNotifications
] ++ lib.optionals stdenv.isLinux [ ] ++ lib.optionals stdenv.isLinux [
fontconfig libunistring libcanberra libX11 fontconfig libunistring libcanberra libX11
libXrandr libXinerama libXcursor libxkbcommon libXi libXext libXrandr libXinerama libXcursor libxkbcommon libXi libXext