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