Unverified Commit cdd27b60 authored by Rafael Ieda's avatar Rafael Ieda
Browse files

lobster: fix build with cmake4

parent 0b3f6f53
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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