From 9da35b8f6b08742c21ad3a5f099a07139cd657ad Mon Sep 17 00:00:00 2001 From: Flakebi Date: Sat, 16 Aug 2025 11:50:04 +0200 Subject: [PATCH] ulauncher: Fix with webkitgtk_4_1 Apply patch for compatibility with webkitgtk 4.1. Fixes dependency on insecure webkitgtk 4.0. --- pkgs/by-name/ul/ulauncher/package.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ul/ulauncher/package.nix b/pkgs/by-name/ul/ulauncher/package.nix index c9fdbcf6defa..bb4175b3cb2f 100644 --- a/pkgs/by-name/ul/ulauncher/package.nix +++ b/pkgs/by-name/ul/ulauncher/package.nix @@ -1,6 +1,7 @@ { lib, fetchurl, + fetchpatch, nix-update-script, python3Packages, gdk-pixbuf, @@ -9,7 +10,7 @@ gobject-introspection, gtk3, wrapGAppsHook3, - webkitgtk_4_0, + webkitgtk_4_1, libnotify, keybinder3, libappindicator, @@ -45,7 +46,7 @@ python3Packages.buildPythonApplication rec { libappindicator libnotify librsvg - webkitgtk_4_0 + webkitgtk_4_1 wmctrl ]; @@ -77,6 +78,11 @@ python3Packages.buildPythonApplication rec { patches = [ ./fix-path.patch ./fix-extensions.patch + (fetchpatch { + name = "support-gir1.2-webkit2-4.1.patch"; + url = "https://src.fedoraproject.org/rpms/ulauncher/raw/rawhide/f/support-gir1.2-webkit2-4.1.patch"; + hash = "sha256-w1c+Yf6SA3fyMrMn1LXzCXf5yuynRYpofkkUqZUKLS8="; + }) ]; postPatch = ''