lobster: fix build with cmake4
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
lib,
|
lib,
|
||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
|
fetchpatch,
|
||||||
cmake,
|
cmake,
|
||||||
callPackage,
|
callPackage,
|
||||||
|
|
||||||
@@ -22,6 +23,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
sha256 = "sha256-YGtjoRBGOqkcHaiZNPVFOoeLitJTG/M0I08EPZVCfj0=";
|
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 ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [
|
||||||
libGL
|
libGL
|
||||||
|
|||||||
Reference in New Issue
Block a user