|
66 | 66 | ghc98 = false;
|
67 | 67 | } // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
|
68 | 68 | ghc810 = true;
|
69 |
| - ghc92 = false; |
70 |
| - ghc94 = false; |
| 69 | + ghc92 = true; |
| 70 | + ghc94 = true; |
71 | 71 | ghc96 = true;
|
72 | 72 | ghc98 = true;
|
73 | 73 | ghc98llvm = false;
|
|
81 | 81 | let lib = nixpkgs.lib;
|
82 | 82 | in lib.optionalAttrs (nixpkgsName == "unstable"
|
83 | 83 | && (__match ".*llvm" compiler-nix-name == null)
|
84 |
| - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) |
85 |
| - || (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) |
86 |
| - || (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982"]) |
87 |
| - || (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948" "ghc966" "ghc982"]) |
| 84 | + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) |
| 85 | + || (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) |
| 86 | + || (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982"]) |
| 87 | + || (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982"]) |
88 | 88 | )) {
|
89 | 89 | inherit (lib.systems.examples) ghcjs;
|
90 | 90 | } // lib.optionalAttrs (
|
91 | 91 | (__match ".*llvm" compiler-nix-name == null)
|
92 |
| - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc91120240918"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them |
| 92 | + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc91120240918"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them |
93 | 93 | || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
|
94 | 94 | inherit (lib.systems.examples) mingwW64;
|
95 | 95 | } // lib.optionalAttrs (nixpkgsName == "unstable"
|
96 | 96 | && (__match ".*llvm" compiler-nix-name == null)
|
97 |
| - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902" "ghc928" "ghc948"]) |
| 97 | + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902" "ghc928" "ghc948"]) |
98 | 98 | || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
|
99 | 99 | inherit (lib.systems.examples) ucrt64;
|
100 |
| - } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) { |
| 100 | + } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable") { |
101 | 101 | # Musl cross only works on linux
|
102 | 102 | # aarch64 cross only works on linux
|
103 |
| - inherit (lib.systems.examples) musl64 aarch64-multiplatform; |
104 |
| - } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && builtins.elem compiler-nix-name ["ghc927" "ghc928"]) { |
| 103 | + inherit (lib.systems.examples) musl32 musl64 aarch64-multiplatform aarch64-android armv7a-android-prebuilt; |
| 104 | + } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) { |
105 | 105 | # TODO fix this for the compilers we build with hadrian (ghc >=9.4)
|
106 | 106 | inherit (lib.systems.examples) aarch64-multiplatform-musl;
|
107 |
| - } // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902"]) { |
| 107 | + } // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) { |
108 | 108 | inherit (lib.systems.examples) aarch64-multiplatform-musl;
|
109 | 109 | };
|
110 | 110 | isDisabled = d: d.meta.disabled or false;
|
|
0 commit comments