octopus-caller: backport patch to fix build
This commit is contained in:
parent
df27066c5c
commit
5f5bb45093
|
@ -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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "octopus";
|
pname = "octopus";
|
||||||
|
@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [ boost gmp htslib zlib xz ];
|
buildInputs = [ boost gmp htslib zlib xz ];
|
||||||
|
|
||||||
|
patches = [ (fetchurl {
|
||||||
|
url = "https://github.com/luntergroup/octopus/commit/17a597d192bcd5192689bf38c5836a98b824867a.patch";
|
||||||
|
sha256 = "sha256-VaUr63v7mzhh4VBghH7a7qrqOYwl6vucmmKzTi9yAjY=";
|
||||||
|
}) ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir $out/bin
|
mkdir $out/bin
|
||||||
mv $out/octopus $out/bin
|
mv $out/octopus $out/bin
|
||||||
|
|
Loading…
Reference in a new issue