hypr: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-21 10:35:26 -03:00
parent 0720d4cf7a
commit 89934abf50
@@ -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 ]}
'';