Consistently pass versioned llvmPackages_x attributes to GHC.

Otherwise, these configurations are going to break when Nixpkgs updates
to llvm 6.x.
This commit is contained in:
Peter Simons 2018-07-16 10:55:17 +02:00
parent f3341e2330
commit c661f96968
3 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;