bustools: fix build

This commit is contained in:
Svenum
2025-10-14 12:51:52 +02:00
parent d1342a6cfc
commit 38ae2a8fe8

View File

@@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ]; buildInputs = [ zlib ];
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
'cmake_minimum_required(VERSION 2.8.12)' \
'cmake_minimum_required(VERSION 3.5)'
'';
passthru.tests.version = testers.testVersion { passthru.tests.version = testers.testVersion {
package = bustools; package = bustools;
command = "bustools version"; command = "bustools version";