diff options
author | Drew Hess <src@drewhess.com> | 2018-01-03 15:57:23 -0800 |
---|---|---|
committer | Drew Hess <src@drewhess.com> | 2018-01-03 15:57:23 -0800 |
commit | 461139e3fa65583c97abba8e5f41de6550b07488 (patch) | |
tree | 6a1571ae1a1a127b0b32902d3a1adf9117af38a9 /pkgs/development/compilers/ghc/8.0.2.nix | |
parent | 75634afba892419057ce93e72aa1360acc27c1a5 (diff) | |
download | nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.tar nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.tar.gz nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.tar.bz2 nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.tar.lz nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.tar.xz nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.tar.zst nixpkgs-461139e3fa65583c97abba8e5f41de6550b07488.zip |
ghc: ARM builds have an LLVM runtime dependency.
Diffstat (limited to 'pkgs/development/compilers/ghc/8.0.2.nix')
-rw-r--r-- | pkgs/development/compilers/ghc/8.0.2.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/8.0.2.nix b/pkgs/development/compilers/ghc/8.0.2.nix index 762fe547ca9..bb706aa6bbc 100644 --- a/pkgs/development/compilers/ghc/8.0.2.nix +++ b/pkgs/development/compilers/ghc/8.0.2.nix @@ -2,7 +2,7 @@ , buildPlatform, hostPlatform, targetPlatform # build-tools -, bootPkgs, hscolour +, bootPkgs, hscolour, llvm_37 , coreutils, fetchurl, fetchpatch, patchutils, perl, sphinx , libiconv ? null, ncurses @@ -35,7 +35,7 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch ++ stdenv.lib.optional stdenv.isDarwin ./ghc-8.0.2-no-cpp-warnings.patch; - buildInputs = [ ghc perl hscolour sphinx ]; + buildInputs = [ ghc perl hscolour sphinx ] ++ stdenv.lib.optionals (stdenv.isArm || stdenv.isAarch64) [ llvm_37 ]; enableParallelBuilding = true; |