diff options
author | Malo Bourgon <mbourgon@gmail.com> | 2023-01-16 11:23:07 -0800 |
---|---|---|
committer | Malo Bourgon <mbourgon@gmail.com> | 2023-01-16 11:23:07 -0800 |
commit | 3a150b7562fa255164cc1bc0344bb664a1b4485d (patch) | |
tree | 535a79156e0e5cf1e66f72b5b239fa1c03640da2 /pkgs/applications/terminal-emulators/kitty | |
parent | f46ee73ba6851e458dedc78e3f0fe2c6eb099697 (diff) |
kitty: unbreak on `x86_64-darwin`
Diffstat (limited to 'pkgs/applications/terminal-emulators/kitty')
-rw-r--r-- | pkgs/applications/terminal-emulators/kitty/default.nix | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index e1a3f00255eb0..69e6e270654a2 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -7,14 +7,11 @@ , openssl , installShellFiles , dbus +, Libsystem , Cocoa -, CoreGraphics -, Foundation -, IOKit , Kernel , UniformTypeIdentifiers , UserNotifications -, OpenGL , libcanberra , libicns , libpng @@ -47,16 +44,14 @@ buildPythonApplication rec { openssl.dev ] ++ lib.optionals stdenv.isDarwin [ Cocoa - CoreGraphics - Foundation - IOKit Kernel - OpenGL UniformTypeIdentifiers UserNotifications libpng python3 zlib + ] ++ lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ + Libsystem ] ++ lib.optionals stdenv.isLinux [ fontconfig libunistring libcanberra libX11 libXrandr libXinerama libXcursor libxkbcommon libXi libXext @@ -110,6 +105,7 @@ buildPythonApplication rec { ''; in '' runHook preBuild + ${ lib.optionalString (stdenv.isDarwin && stdenv.isx86_64) "export MACOSX_DEPLOYMENT_TARGET=11" } ${if stdenv.isDarwin then '' ${python.interpreter} setup.py build ${darwinOptions} make docs @@ -219,7 +215,6 @@ 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 ]; }; } |