-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
pkgs/applications/terminal-emulators/kitty/fix_setup.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/setup.py b/setup.py | ||
index 9e9c3f177..8183a3b69 100755 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -1778,7 +1778,7 @@ def repl(name: str, raw: str, defval: Union[str, float, FrozenSet[str]], val: Un | ||
return raw | ||
tname = type(defval).__name__ | ||
if tname == 'frozenset': | ||
- tname = 'typing.FrozenSet[str]' | ||
+ tname = 'frozenset[str]' | ||
prefix = f'{name}: {tname} =' | ||
nraw = raw.replace(f'{prefix} {defval!r}', f'{prefix} {val!r}', 1) | ||
if nraw == raw: |