mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
lxqt.libqtxdg: fix build with Qt 6.9
Why. WHY.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user