diff --git a/pkgs/development/compilers/llvm/default.nix b/pkgs/development/compilers/llvm/default.nix index 9e7502fb370..01b16fcda8d 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; }; }