bedtools: fix clang builds
This commit is contained in:
parent
592d288aa2
commit
50fbca4bfc
@ -12,9 +12,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ zlib python bzip2 lzma ];
|
buildInputs = [ zlib python bzip2 lzma ];
|
||||||
cc = if stdenv.cc.isClang then "clang++" else "g++";
|
cxx = if stdenv.cc.isClang then "clang++" else "g++";
|
||||||
buildPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cc} -j $NIX_BUILD_CORES";
|
cc = if stdenv.cc.isClang then "clang" else "gcc";
|
||||||
installPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cc} install";
|
buildPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cxx} CC=${cc} -j $NIX_BUILD_CORES";
|
||||||
|
installPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cxx} CC=${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…
x
Reference in New Issue
Block a user