xdg-utils: patch out qtpaths runtime dependency (#488769)

This commit is contained in:
Jan Tojnar
2026-09-27 14:14:08 +00:00
committed by GitHub

View File

@@ -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