xsuspender: fix build with cmake4 (#453672)

This commit is contained in:
Yohann Boniface
2025-10-23 21:44:56 +00:00
committed by GitHub
+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 ]}"