xdg-utils: patch out qtpaths runtime dependency

This commit is contained in:
whoomee
2026-09-27 14:27:29 +02:00
parent c6336bc564
commit e098f8d329

View File

@@ -3,6 +3,7 @@
stdenv,
fetchurl,
fetchFromGitLab,
fetchpatch,
runCommand,
writeText,
# docs deps
@@ -142,7 +143,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;
@@ -315,6 +315,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