From 38ae2a8fe89f0c9e36cb998b9cebd541d1128208 Mon Sep 17 00:00:00 2001 From: Svenum Date: Tue, 14 Oct 2025 12:51:52 +0200 Subject: [PATCH] bustools: fix build --- pkgs/by-name/bu/bustools/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/bu/bustools/package.nix b/pkgs/by-name/bu/bustools/package.nix index d42e48bf131f..4951b32c5115 100644 --- a/pkgs/by-name/bu/bustools/package.nix +++ b/pkgs/by-name/bu/bustools/package.nix @@ -23,6 +23,12 @@ stdenv.mkDerivation rec { 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 { package = bustools; command = "bustools version";