sambamba: fix darwin build
This commit is contained in:
parent
91f69cd0ad
commit
c47425a230
1 changed files with 9 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python3, which, ldc, zlib }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, python3, which, ldc, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sambamba";
|
||||
|
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
|
|||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes hardcoded gcc, making clang build possible.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/biod/sambamba/commit/c50a1c91e1ba062635467f197139bf6784e9be15.patch";
|
||||
sha256 = "1y0vlybmb9wpg4z1nca7m96mk9hxmvd3yrg7w8rxscj45hcqvf8q";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ which python3 ldc ];
|
||||
buildInputs = [ zlib ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue