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 ];