Merge pull request #24191 from jbedo/bedtools
bedtools: fix clang build
This commit is contained in:
commit
bfb7890fa0
|
@ -12,8 +12,9 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib python ];
|
buildInputs = [ zlib python ];
|
||||||
buildPhase = "make prefix=$out SHELL=${stdenv.shell} -j $NIX_BUILD_CORES";
|
cc = if stdenv.cc.isClang then "clang++" else "g++";
|
||||||
installPhase = "make prefix=$out SHELL=${stdenv.shell} install";
|
buildPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cc} -j $NIX_BUILD_CORES";
|
||||||
|
installPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cc} install";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A powerful toolset for genome arithmetic.";
|
description = "A powerful toolset for genome arithmetic.";
|
||||||
|
|
Loading…
Reference in New Issue