llvm should build on darwin now

svn path=/nixpkgs/trunk/; revision=30958
This commit is contained in:
Shea Levy 2011-12-19 13:00:03 +00:00
parent 2a033caa1d
commit dfb27bd181

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl, groff, darwinSwVersUtility, cmake }:
{ stdenv, fetchurl, perl, groff, darwinSwVersUtility, darwinInstallNameToolUtility, cmake }:
let version = "3.0"; in
@ -11,7 +11,7 @@ stdenv.mkDerivation {
};
buildInputs = [ perl groff cmake ] ++
stdenv.lib.optional stdenv.isDarwin darwinSwVersUtility;
stdenv.lib.optionals stdenv.isDarwin [ darwinSwVersUtility darwinInstallNameToolUtility ];
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
@ -22,7 +22,7 @@ stdenv.mkDerivation {
description = "Collection of modular and reusable compiler and toolchain technologies";
license = "BSD";
maintainers = with stdenv.lib.maintainers; [viric shlevy];
platforms = with stdenv.lib.platforms; linux;
platforms = with stdenv.lib.platforms; all;
};
}