xsuspender: fix build with cmake4

This commit is contained in:
Rafael Ieda
2025-10-19 22:08:55 -03:00
parent 54687e1b3c
commit a0a29aaac4
+5
View File
@@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
libwnck
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required (VERSION 2.8 FATAL_ERROR)" "cmake_minimum_required(VERSION 3.10)"
'';
postInstall = ''
wrapProgram $out/bin/xsuspender \
--prefix PATH : "${lib.makeBinPath [ procps ]}"