From 5f5bb45093f45332b975beaf0507c875dfaf1512 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Tue, 25 Oct 2022 09:52:28 +1100 Subject: [PATCH] octopus-caller: backport patch to fix build --- pkgs/applications/science/biology/octopus/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/biology/octopus/default.nix b/pkgs/applications/science/biology/octopus/default.nix index 95912d3a7c3..659b1e97f20 100644 --- a/pkgs/applications/science/biology/octopus/default.nix +++ b/pkgs/applications/science/biology/octopus/default.nix @@ -1,4 +1,4 @@ -{lib, stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, xz, pkg-config}: +{lib, stdenv, fetchurl, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, xz, pkg-config}: stdenv.mkDerivation rec { pname = "octopus"; @@ -14,6 +14,11 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ boost gmp htslib zlib xz ]; + patches = [ (fetchurl { + url = "https://github.com/luntergroup/octopus/commit/17a597d192bcd5192689bf38c5836a98b824867a.patch"; + sha256 = "sha256-VaUr63v7mzhh4VBghH7a7qrqOYwl6vucmmKzTi9yAjY="; + }) ]; + postInstall = '' mkdir $out/bin mv $out/octopus $out/bin