From 86c587134b4af478047a520e7dc7d8af4f4a6998 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sun, 2 Feb 2014 19:47:59 -0500 Subject: [PATCH] llvm-3.4: Try to fix build on darwin Signed-off-by: Shea Levy --- pkgs/development/compilers/llvm/3.4/llvm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/llvm/3.4/llvm.nix b/pkgs/development/compilers/llvm/3.4/llvm.nix index 9ee63ee319f1..45c8b84178c4 100644 --- a/pkgs/development/compilers/llvm/3.4/llvm.nix +++ b/pkgs/development/compilers/llvm/3.4/llvm.nix @@ -25,7 +25,7 @@ in stdenv.mkDerivation rec { mv compiler-rt-${version} $sourceRoot/projects/compiler-rt ''; - buildInputs = [ perl groff cmake libxml2 python libffi valgrind ncurses ]; + buildInputs = [ perl groff cmake libxml2 python libffi ncurses ] ++ stdenv.lib.optional stdenv.isLinux valgrind; # hacky fix: created binaries need to be run before installation preBuild = '' @@ -50,6 +50,6 @@ in stdenv.mkDerivation rec { homepage = http://llvm.org/; license = stdenv.lib.licenses.bsd3; maintainers = with stdenv.lib.maintainers; [ shlevy lovek323 raskin viric ]; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.all; }; }