|
|
|
@ -6,8 +6,8 @@ let |
|
|
|
|
"ghc865Binary" |
|
|
|
|
"ghc8102Binary" |
|
|
|
|
"ghc8102BinaryMinimal" |
|
|
|
|
"ghc8105Binary" |
|
|
|
|
"ghc8105BinaryMinimal" |
|
|
|
|
"ghc8107Binary" |
|
|
|
|
"ghc8107BinaryMinimal" |
|
|
|
|
"integer-simple" |
|
|
|
|
"native-bignum" |
|
|
|
|
"ghcHEAD" |
|
|
|
@ -59,11 +59,11 @@ in { |
|
|
|
|
minimal = true; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
ghc8105Binary = callPackage ../development/compilers/ghc/8.10.5-binary.nix { |
|
|
|
|
ghc8107Binary = callPackage ../development/compilers/ghc/8.10.7-binary.nix { |
|
|
|
|
llvmPackages = pkgs.llvmPackages_11; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
ghc8105BinaryMinimal = callPackage ../development/compilers/ghc/8.10.5-binary.nix { |
|
|
|
|
ghc8107BinaryMinimal = callPackage ../development/compilers/ghc/8.10.7-binary.nix { |
|
|
|
|
llvmPackages = pkgs.llvmPackages_11; |
|
|
|
|
minimal = true; |
|
|
|
|
}; |
|
|
|
@ -71,7 +71,7 @@ in { |
|
|
|
|
ghc884 = callPackage ../development/compilers/ghc/8.8.4.nix { |
|
|
|
|
# the oldest ghc with aarch64-darwin support is 8.10.5 |
|
|
|
|
bootPkgs = if stdenv.isDarwin && stdenv.isAarch64 then |
|
|
|
|
packages.ghc8105BinaryMinimal |
|
|
|
|
packages.ghc8107BinaryMinimal |
|
|
|
|
# aarch64 ghc865Binary gets SEGVs due to haskell#15449 or similar |
|
|
|
|
# Musl bindists do not exist for ghc 8.6.5, so we use 8.10.* for them |
|
|
|
|
else if stdenv.isAarch64 || stdenv.targetPlatform.isMusl then |
|
|
|
@ -85,7 +85,7 @@ in { |
|
|
|
|
ghc8107 = callPackage ../development/compilers/ghc/8.10.7.nix { |
|
|
|
|
# the oldest ghc with aarch64-darwin support is 8.10.5 |
|
|
|
|
bootPkgs = if stdenv.isDarwin && stdenv.isAarch64 then |
|
|
|
|
packages.ghc8105BinaryMinimal |
|
|
|
|
packages.ghc8107BinaryMinimal |
|
|
|
|
# aarch64 ghc865Binary gets SEGVs due to haskell#15449 or similar |
|
|
|
|
# Musl bindists do not exist for ghc 8.6.5, so we use 8.10.* for them |
|
|
|
|
else if stdenv.isAarch64 || stdenv.isAarch32 || stdenv.targetPlatform.isMusl then |
|
|
|
@ -103,7 +103,7 @@ in { |
|
|
|
|
ghc901 = callPackage ../development/compilers/ghc/9.0.1.nix { |
|
|
|
|
# the oldest ghc with aarch64-darwin support is 8.10.5 |
|
|
|
|
bootPkgs = if stdenv.isDarwin && stdenv.isAarch64 then |
|
|
|
|
packages.ghc8105BinaryMinimal |
|
|
|
|
packages.ghc8107BinaryMinimal |
|
|
|
|
# aarch64 ghc8102Binary exceeds max output size on hydra |
|
|
|
|
else if stdenv.isAarch64 || stdenv.isAarch32 then |
|
|
|
|
packages.ghc8102BinaryMinimal |
|
|
|
@ -184,15 +184,15 @@ in { |
|
|
|
|
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.10.x.nix { }; |
|
|
|
|
packageSetConfig = bootstrapPackageSet; |
|
|
|
|
}; |
|
|
|
|
ghc8105Binary = callPackage ../development/haskell-modules { |
|
|
|
|
buildHaskellPackages = bh.packages.ghc8105Binary; |
|
|
|
|
ghc = bh.compiler.ghc8105Binary; |
|
|
|
|
ghc8107Binary = callPackage ../development/haskell-modules { |
|
|
|
|
buildHaskellPackages = bh.packages.ghc8107Binary; |
|
|
|
|
ghc = bh.compiler.ghc8107Binary; |
|
|
|
|
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.10.x.nix { }; |
|
|
|
|
packageSetConfig = bootstrapPackageSet; |
|
|
|
|
}; |
|
|
|
|
ghc8105BinaryMinimal = callPackage ../development/haskell-modules { |
|
|
|
|
buildHaskellPackages = bh.packages.ghc8105BinaryMinimal; |
|
|
|
|
ghc = bh.compiler.ghc8105BinaryMinimal; |
|
|
|
|
ghc8107BinaryMinimal = callPackage ../development/haskell-modules { |
|
|
|
|
buildHaskellPackages = bh.packages.ghc8107BinaryMinimal; |
|
|
|
|
ghc = bh.compiler.ghc8107BinaryMinimal; |
|
|
|
|
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-8.10.x.nix { }; |
|
|
|
|
packageSetConfig = bootstrapPackageSet; |
|
|
|
|
}; |
|
|
|
|