about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-12-19 13:00:03 +0000
committerShea Levy <shea@shealevy.com>2011-12-19 13:00:03 +0000
commitdfb27bd1814c7a9a68a635fce16ddfa1ed375f69 (patch)
tree30f995bc85d15fce17a224d26cc6ba68a9fa6144 /pkgs
parent2a033caa1d354d6599fce04d8e330710b8b203ce (diff)
downloadnixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.tar
nixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.tar.gz
nixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.tar.bz2
nixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.tar.lz
nixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.tar.xz
nixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.tar.zst
nixlib-dfb27bd1814c7a9a68a635fce16ddfa1ed375f69.zip
llvm should build on darwin now
svn path=/nixpkgs/trunk/; revision=30958
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/llvm/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/llvm/default.nix b/pkgs/development/compilers/llvm/default.nix
index 9e7502fb3708..01b16fcda8d6 100644
--- a/pkgs/development/compilers/llvm/default.nix
+++ b/pkgs/development/compilers/llvm/default.nix
@@ -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;
   };
 }