igprof: fix build with cmake4 (#475687)

This commit is contained in:
Aleksana
2026-01-01 07:31:58 +00:00
committed by GitHub

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 = [