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

backward-cpp: fix build with cmake4 (#451478)

parents 133cc778 741a5595
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
  ];