Unverified Commit 3d3d9516 authored by Francesco Gazzetta's avatar Francesco Gazzetta Committed by GitHub
Browse files

lobster: fix build with cmake4 (#454393)

parents fa2b7596 cdd27b60
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