Unverified Commit 7c76c6cf authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

msnake: fix build failure with cmake 4 (#452717)

parents 52612e56 4d4cf8fa
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -18,6 +18,12 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-5q3yT7amPF+SSvO6/eUU7IiK0k6f3nme9YYBUobSuuo=";
  };

  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail \
      "cmake_minimum_required(VERSION 2.8.4)" \
      "cmake_minimum_required(VERSION 4.0)"
  '';

  nativeBuildInputs = [
    cmake
  ];