git.iko.soy/typeable/nixpkgs
on master help sign in
bcftools: fix darwin building

gcc not available

commit96322f6926622c31a078fbdefc5a623a8f7a6577 authorMatthew Bauer <mjbauer95@gmail.com> dateWed 10 Aug 2016, 22:48 (10 years ago) parent0a1cb79
1 file changed+5−3
pkgs/applications/science/biology/bcftools/default.nix+5−3
pkgs/applications/science/biology/bcftools/default.nix+5−3
@@ -12,9 +12,11 @@ stdenv.mkDerivation rec {
1212
1313 buildInputs = [ zlib ];
1414
15− preBuild = ''
16− makeFlagsArray=("HSTDIR=${htslib}" "prefix=$out")
17− '';
15+ makeFlags = [
16+ "HSTDIR=${htslib}"
17+ "prefix=$out"
18+ "CC=cc"
19+ ];
1820
1921 meta = with stdenv.lib; {
2022 description = "Tools for manipulating BCF2/VCF/gVCF format, SNP and short indel sequence variants";