lxqt.libqtxdg: fix build with Qt 6.9

Why. WHY.
This commit is contained in:
K900
2025-04-08 12:43:32 +03:00
parent 962ca11685
commit 331ef9bd04

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
qtbase,
qtsvg,
@@ -27,6 +28,15 @@ stdenv.mkDerivation rec {
."${version}";
};
# Fix build with Qt 6.9
# FIXME: remove in next release
patches = lib.optionals (version == "4.1.0") [
(fetchpatch {
url = "https://github.com/lxqt/libqtxdg/commit/35ce74f1510a9f41b2aff82fd1eda63014c3fe2b.patch";
hash = "sha256-udO3RQkzkcDBCxMNTIsORlDCLsZrxCbi0dXCBRuoQQQ=";
})
];
nativeBuildInputs = [
cmake
lxqt-build-tools