diff options
author | Zhong Jianxin <azuwis@gmail.com> | 2021-09-12 18:52:09 +0800 |
---|---|---|
committer | Luflosi <luflosi@luflosi.de> | 2022-01-08 13:44:08 +0100 |
commit | 5025d2fcf91f4b513892587a7ca8ff15935b15b3 (patch) | |
tree | eb376491bbf451cb1b008a1f0b76013f410b0c40 /pkgs/applications/terminal-emulators | |
parent | aa1932ea7a0fe94239e66fd76bf71e61bcb49402 (diff) |
kitty: Fix compilation on apple sdk 11
Closes https://github.com/NixOS/nixpkgs/pull/137512.
Diffstat (limited to 'pkgs/applications/terminal-emulators')
-rw-r--r-- | pkgs/applications/terminal-emulators/kitty/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 7647f6d627f7c..d79ce43bdff6f 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -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 |