From d1342a6cfce204faa8278e1143aba6ae77fee7e5 Mon Sep 17 00:00:00 2001 From: Svenum Date: Tue, 14 Oct 2025 12:48:17 +0200 Subject: [PATCH] bowtie2: fix build --- pkgs/by-name/bo/bowtie2/package.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/bo/bowtie2/package.nix b/pkgs/by-name/bo/bowtie2/package.nix index 5286edb36f81..7349d505e7ce 100644 --- a/pkgs/by-name/bo/bowtie2/package.nix +++ b/pkgs/by-name/bo/bowtie2/package.nix @@ -28,7 +28,9 @@ stdenv.mkDerivation (finalAttrs: { # TODO: check with other distros and report upstream postPatch = '' substituteInPlace CMakeLists.txt \ - --replace "-m64" "" + --replace-fail "-m64" "" \ + --replace-fail 'cmake_minimum_required(VERSION 3.1 FATAL_ERROR)' \ + 'cmake_minimum_required(VERSION 3.5 FATAL_ERROR)' ''; nativeBuildInputs = [ cmake ];