diff --git a/pkgs/by-name/xd/xdg-utils/package.nix b/pkgs/by-name/xd/xdg-utils/package.nix index 2a8d135fea53..7221f10a2aed 100644 --- a/pkgs/by-name/xd/xdg-utils/package.nix +++ b/pkgs/by-name/xd/xdg-utils/package.nix @@ -3,6 +3,7 @@ stdenv, fetchurl, fetchFromGitLab, + fetchpatch, runCommand, writeText, versionCheckHook, @@ -143,7 +144,6 @@ let "ktraderclient" # KDE 3 "ktradertest" # KDE 3 "mimetype" # alternative tool for file, pulls in perl, avoid - "qtpaths" # Plasma "qtxdg-mat" # LXQT ]; fix."/usr/bin/file" = true; @@ -316,6 +316,11 @@ stdenv.mkDerivation (finalAttrs: { ./allow-forcing-portal-use.patch # Enable build of xdg-terminal ./enable-xdg-terminal.patch + # Get rid of qtpaths runtime dependency (can be dropped in next release) + (fetchpatch { + url = "https://gitlab.freedesktop.org/xdg/xdg-utils/-/commit/e6a6e4f1fbcb029bac0cb8eecdeb2879694e1ba8.patch"; + hash = "sha256-toSFzIaw7gCWZH/kvIalWDQYL1xecOsRBAHvpbBlsY8="; + }) ]; # just needed when built from git