libacars: fix build issue related to cmake 4 (#454052)

This commit is contained in:
Yaya
2025-10-21 08:21:37 +00:00
committed by GitHub

View File

@@ -15,9 +15,12 @@ stdenv.mkDerivation rec {
hash = "sha256-2n1tuKti8Zn5UzQHmRdvW5Q+x4CXS9QuPHFQ+DFriiE=";
};
nativeBuildInputs = [
cmake
];
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required (VERSION 3.1)" "cmake_minimum_required (VERSION 3.10)"
'';
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DCMAKE_INSTALL_LIBDIR=lib"