Commit d1342a6c authored by Svenum's avatar Svenum
Browse files

bowtie2: fix build

parent 6e67c6ab
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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 ];