kitty: apply patch on Darwin for running as symlink
This commit is contained in:
parent
b5f26f3803
commit
7da57081fe
@ -2,7 +2,7 @@
|
|||||||
harfbuzz, fontconfig, pkgconfig, ncurses, imagemagick, xsel,
|
harfbuzz, fontconfig, pkgconfig, ncurses, imagemagick, xsel,
|
||||||
libstartup_notification, libX11, libXrandr, libXinerama, libXcursor,
|
libstartup_notification, libX11, libXrandr, libXinerama, libXcursor,
|
||||||
libxkbcommon, libXi, libXext, wayland-protocols, wayland,
|
libxkbcommon, libXi, libXext, wayland-protocols, wayland,
|
||||||
which, dbus,
|
which, dbus, fetchpatch,
|
||||||
Cocoa,
|
Cocoa,
|
||||||
CoreGraphics,
|
CoreGraphics,
|
||||||
Foundation,
|
Foundation,
|
||||||
@ -67,6 +67,17 @@ buildPythonApplication rec {
|
|||||||
libstartup_notification = "${libstartup_notification}/lib/libstartup-notification-1.so";
|
libstartup_notification = "${libstartup_notification}/lib/libstartup-notification-1.so";
|
||||||
})
|
})
|
||||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "macos-symlink-1";
|
||||||
|
url = https://github.com/kovidgoyal/kitty/commit/bdeec612667f6976109247fe1750b10dda9c24c0.patch;
|
||||||
|
sha256 = "1d18x260w059qag80kgb2cgi2h4rricvqhwpbrw79s8yxzs7jhxk";
|
||||||
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
# fixup of previous patch
|
||||||
|
name = "macos-symlink-2";
|
||||||
|
url = https://github.com/kovidgoyal/kitty/commit/af2c9a49b1ad31e94242295d88598591623fbf11.patch;
|
||||||
|
sha256 = "0k3dmgbvmh66j8k3h8dw6la6ma6f20fng6jjypy982kxvracsnl5";
|
||||||
|
})
|
||||||
./macos-10.11.patch
|
./macos-10.11.patch
|
||||||
./no-lto.patch
|
./no-lto.patch
|
||||||
./no-werror.patch
|
./no-werror.patch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user