loudgain: fix build with cmake4 (#454505)

This commit is contained in:
Yohann Boniface
2025-10-26 00:50:31 +00:00
committed by GitHub
+5
View File
@@ -48,6 +48,11 @@ stdenv.mkDerivation rec {
zlib
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "CMAKE_MINIMUM_REQUIRED(VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)"
'';
postInstall = ''
sed -e "1aPATH=$out/bin:\$PATH" -i "$out/bin/rgbpm"
'';