tinyalsa: fix build with cmake4 (#453936)

This commit is contained in:
Jo
2025-10-21 13:25:31 +00:00
committed by GitHub
+5
View File
@@ -28,6 +28,11 @@ stdenv.mkDerivation {
"-Wno-error=sign-compare"
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.1)" "cmake_minimum_required(VERSION 3.10)"
'';
meta = with lib; {
homepage = "https://github.com/tinyalsa/tinyalsa";
description = "Tiny library to interface with ALSA in the Linux kernel";