msnake: fix build failure with cmake 4

Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
Ethan Carter Edwards
2025-10-16 16:49:43 -04:00
parent 6c2cec3cb8
commit 4d4cf8fa3c
+6
View File
@@ -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
];