mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
veryfasttree: fix build on darwin
This commit is contained in:
parent
cb16c50571
commit
82d4f6b43d
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "veryfasttree";
|
||||
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = lib.optional stdenv.cc.isClang llvmPackages.openmp;
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -D VeryFastTree $out/bin/VeryFastTree
|
||||
@ -22,5 +23,6 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.gpl3Plus;
|
||||
homepage = "https://github.com/citiususc/veryfasttree";
|
||||
maintainers = with maintainers; [ thyol ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user