igprof: fix build with cmake4

This commit is contained in:
Sigmanificient
2025-12-31 19:04:05 +01:00
parent 5a10d401bd
commit efb37ae85a
+4 -1
View File
@@ -20,7 +20,10 @@ stdenv.mkDerivation rec {
};
postPatch = ''
substituteInPlace src/igprof --replace libigprof.so $out/lib/libigprof.so
substituteInPlace src/igprof \
--replace-fail libigprof.so $out/lib/libigprof.so
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" "CMAKE_MINIMUM_REQUIRED(VERSION 3.10)"
'';
buildInputs = [