From 5025d2fcf91f4b513892587a7ca8ff15935b15b3 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Sun, 12 Sep 2021 18:52:09 +0800 Subject: [PATCH] kitty: Fix compilation on apple sdk 11 Closes https://github.com/NixOS/nixpkgs/pull/137512. --- pkgs/applications/terminal-emulators/kitty/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 7647f6d627f7..d79ce43bdff6 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