heimer: Fix build with CMake 4

Pick unreleased patches from upstream master to make it build with CMake 4.
This commit is contained in:
Kirill Elagin
2025-11-15 11:30:32 +01:00
parent 6dff4356a2
commit 610e627259
+15
View File
@@ -2,6 +2,7 @@
lib,
mkDerivation,
fetchFromGitHub,
fetchpatch,
cmake,
qttools,
qtbase,
@@ -18,6 +19,20 @@ mkDerivation rec {
hash = "sha256-eKnGCYxC3b7qd/g2IMDyZveBg+jvFA9s3tWEGeTPSkU=";
};
patches = [
# Fix the build with CMake 4
(fetchpatch {
name = "update-Argengine.patch";
url = "https://github.com/juzzlin/Heimer/commit/76d9e8458038d2da4171be3a58766b84334119e8.patch";
hash = "sha256-mFzfxxhaJ1jdwfFVo36N66+jzS/scEeray1s75c+T8M=";
})
(fetchpatch {
name = "update-SimpleLogger.patch";
url = "https://github.com/juzzlin/Heimer/commit/75bff37b6ebd02d9f734e70ee4d3c10ec0291e0d.patch";
hash = "sha256-ZPj5GaM13UsGwJbc0NW0xJd07agZT+g86674i3apqWY=";
})
];
nativeBuildInputs = [
cmake
];