lobster: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-21 20:11:52 -03:00
parent 0b3f6f538f
commit cdd27b6057

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
cmake,
callPackage,
@@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-YGtjoRBGOqkcHaiZNPVFOoeLitJTG/M0I08EPZVCfj0=";
};
patches = [
(fetchpatch {
name = "cmake-fix.patch";
url = "https://github.com/aardappel/lobster/commit/a5f46ed65cad43ea70c8a6af5ea2fd5a018c8941.patch?full_index=1";
hash = "sha256-91pmoTPLD2Fo2SuCKngdRxXFUty5lOyA4oX8zaJ0ON0=";
})
];
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [
libGL