Unverified Commit 4d4cf8fa authored by Ethan Carter Edwards's avatar Ethan Carter Edwards
Browse files

msnake: fix build failure with cmake 4

parent 6c2cec3c
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
  ];