diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix index 7b83d260d903..39c5a177b928 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -4,8 +4,8 @@ with haskellLib; self: super: { - # Use the latest LLVM. - inherit (pkgs) llvmPackages; + # This compiler version needs llvm 5.x. + llvmPackages = pkgs.llvmPackages_5; # Disable GHC 8.4.x core libraries. array = null; diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index bc540cbe36d6..b2e9d43ef08f 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -4,8 +4,8 @@ with haskellLib; self: super: { - # Use the latest LLVM. - inherit (pkgs) llvmPackages; + # This compiler version needs llvm 5.x. + llvmPackages = pkgs.llvmPackages_5; # Disable GHC 8.6.x core libraries. array = null; diff --git a/pkgs/development/haskell-modules/configuration-ghc-head.nix b/pkgs/development/haskell-modules/configuration-ghc-head.nix index 93a39beb8a9d..99f4cd87ce56 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-head.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-head.nix @@ -4,8 +4,8 @@ with haskellLib; self: super: { - # Use the latest LLVM. - inherit (pkgs) llvmPackages; + # This compiler version needs llvm 5.x. + llvmPackages = pkgs.llvmPackages_5; # Disable GHC 8.7.x core libraries. array = null;