Commit 741a5595 authored by Sigmanificient's avatar Sigmanificient
Browse files

backward-cpp: fix build with cmake4

parent a132f087
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  stdenv,
  lib,
  fetchFromGitHub,
  fetchpatch,
  cmake,
}:

@@ -16,6 +17,14 @@ stdenv.mkDerivation (finalAttrs: {
    sha256 = "sha256-2k5PjwFxgA/2XPqJrPHxgSInM61FBEcieppBx+MAUKw=";
  };

  patches = [
    # update depreciated cmake minimum version
    (fetchpatch {
      url = "https://github.com/bombela/backward-cpp/commit/8cb73c397f38b0a375d49335e17980b6c3345ca1.patch?full_index=1";
      hash = "sha256-i+ywKsCdTIS9sqqwAOcf2Mhdz5ReKfThNLHjhvRRQQ0=";
    })
  ];

  nativeBuildInputs = [
    cmake
  ];