Consistently pass versioned llvmPackages_x attributes to GHC.
Otherwise, these configurations are going to break when Nixpkgs updates
to llvm 6.x.
commitc661f96968d5ba8c2ef6af99bd4099fd968fc7f9
authorPeter Simons <simons@cryp.to>
dateMon 16 Jul 2018, 10:55 (8 years ago)
parentf3341e2
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix+2−2
@@ -4,8 +4,8 @@ with haskellLib;
44
55self: super: {
66
7− # Use the latest LLVM.
8− inherit (pkgs) llvmPackages;
7+ # This compiler version needs llvm 5.x.
8+ llvmPackages = pkgs.llvmPackages_5;
99
1010 # Disable GHC 8.4.x core libraries.
1111 array = null;
pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix+2−2
@@ -4,8 +4,8 @@ with haskellLib;
44
55self: super: {
66
7− # Use the latest LLVM.
8− inherit (pkgs) llvmPackages;
7+ # This compiler version needs llvm 5.x.
8+ llvmPackages = pkgs.llvmPackages_5;
99
1010 # Disable GHC 8.6.x core libraries.
1111 array = null;
pkgs/development/haskell-modules/configuration-ghc-head.nix+2−2
@@ -4,8 +4,8 @@ with haskellLib;
44
55self: super: {
66
7− # Use the latest LLVM.
8− inherit (pkgs) llvmPackages;
7+ # This compiler version needs llvm 5.x.
8+ llvmPackages = pkgs.llvmPackages_5;
99
1010 # Disable GHC 8.7.x core libraries.
1111 array = null;