qcomicbook: fix build issue with CMake 4 (#451544)

This commit is contained in:
dotlambda
2025-10-13 05:55:14 +00:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
pkg-config,
libsForQt5,
@@ -18,6 +19,15 @@ stdenv.mkDerivation rec {
sha256 = "1b769lp6gfwds4jb2g7ymhdm9c06zg57zpyz3zpdb40w07zfsjzv";
};
patches = [
# https://github.com/stolowski/QComicBook/pull/45
(fetchpatch {
name = "cmake-4-compatibility.patch";
url = "https://github.com/stolowski/QComicBook/commit/424a188f63171842ce8fad86fa85c4e03e405618.patch?full_index=1";
hash = "sha256-q0X2i21JgtBfRfyMGpuUyB9GtIiWiFo6IWME6EBMSwk=";
})
];
nativeBuildInputs = [
cmake
pkg-config