Skip to content

Commit

Permalink
kitty: refactor add patch to solve darwin test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
leiserfg committed Mar 11, 2025
1 parent 71b99a1 commit 02e08e6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
13 changes: 0 additions & 13 deletions pkgs/by-name/ki/kitty/fix_setup.patch

This file was deleted.

14 changes: 12 additions & 2 deletions pkgs/by-name/ki/kitty/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
makeBinaryWrapper,
autoSignDarwinBinariesHook,
cairo,
fetchpatch,
}:

with python3Packages;
Expand Down Expand Up @@ -159,8 +160,17 @@ buildPythonApplication rec {
# OSError: master_fd is in error condition
./disable-test_ssh_bootstrap_with_different_launchers.patch

# Temporary fix for setup.py until it's merged upstream
./fix_setup.patch
# Remove after 0.40.1
(fetchpatch {
url = "https://github.com/kovidgoyal/kitty/commit/6171ca6.patch";
hash = "sha256-OBB0YcgEYgw3Jcg+Dgus6rwQ4gGL6GMr6pd7m9CGq9k=";
})

(fetchpatch {
url = "https://github.com/kovidgoyal/kitty/commit/8cbdd003e2.patch";
hash = "sha256-pKIJIqIdPfB4kQ6FtpYDumpgjJkMxoLT8fKzfgWYJnw=";
})

];

hardeningDisable = [
Expand Down

0 comments on commit 02e08e6

Please sign in to comment.