3
0
Fork 0
forked from mirrors/nixpkgs

mdds: fix compilation on darwin

This commit is contained in:
Sandro Jäckel 2020-11-25 18:30:52 +01:00
parent b73851877c
commit 803b6b9ab6
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, boost }:
{ stdenv, fetchurl, boost, llvmPackages }:
stdenv.mkDerivation rec {
pname = "mdds";
@ -14,6 +14,8 @@ stdenv.mkDerivation rec {
cp "$out/share/pkgconfig/"* "$out/lib/pkgconfig"
'';
buildInputs = stdenv.lib.optionals stdenv.cc.isClang [ llvmPackages.openmp ];
checkInputs = [ boost ];
meta = with stdenv.lib; {
@ -21,7 +23,6 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.com/mdds/mdds";
description = "A collection of multi-dimensional data structure and indexing algorithm";
platforms = platforms.all;
broken = stdenv.isDarwin;
license = licenses.mit;
};
}