Unverified Commit d07be788 authored by Leona Maroni's avatar Leona Maroni Committed by GitHub
Browse files

surgescript: fix build with cmake4 (#451373)

parents 6e38a7ec 601aeb92
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  ninja,
  versionCheckHook,
@@ -19,6 +20,13 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-m6H9cyoUY8Mgr0FDqPb98PRJTgF7DgSa+jC+EM0TDEw=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/alemart/surgescript/commit/21a9c0696d592b7cc21e07db828fb93a12c95a7e.patch?full_index=1";
      hash = "sha256-d0l0xSrhJPIE5dMpEHdRlAMaD3f9x1IGBUpvjcMwDMs=";
    })
  ];

  nativeBuildInputs = [
    cmake
    ninja