hypr: fix build with cmake4 (#454202)

This commit is contained in:
dish
2025-10-27 14:08:11 +00:00
committed by GitHub
@@ -67,6 +67,11 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.4)" "cmake_minimum_required(VERSION 3.10)"
'';
postFixup = ''
wrapProgram $out/bin/Hypr --prefix PATH : ${lib.makeBinPath [ xmodmap ]}
'';