bowtie2: fix build

This commit is contained in:
Svenum
2025-10-22 08:51:28 +02:00
parent 6e67c6ab86
commit d1342a6cfc
+3 -1
View File
@@ -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 ];