|
62 | 62 | # from here (so that is no longer cached) also remove ./materialized/ghcXXX. |
63 | 63 | # Update supported-ghc-versions.md to reflect any changes made here. |
64 | 64 | nixpkgs.lib.optionalAttrs (nixpkgsName == "R2405") { |
65 | | - ghc94 = false; |
66 | 65 | ghc96 = false; |
67 | 66 | ghc98 = false; |
68 | 67 | } // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") { |
69 | 68 | ghc810 = true; |
70 | | - ghc90 = false; |
71 | | - ghc92 = true; |
72 | | - ghc94 = true; |
| 69 | + ghc92 = false; |
| 70 | + ghc94 = false; |
73 | 71 | ghc96 = true; |
74 | | - ghc96llvm = true; |
75 | 72 | ghc98 = true; |
76 | | - ghc98llvm = true; |
| 73 | + ghc98llvm = false; |
77 | 74 | ghc910 = true; |
78 | | - ghc911 = true; |
| 75 | + ghc910llvm = true; |
| 76 | + ghc9121 = true; |
| 77 | + ghc912X = true; |
| 78 | + ghc913 = true; |
79 | 79 | }))); |
80 | 80 | crossSystems = nixpkgsName: nixpkgs: compiler-nix-name: |
81 | 81 | # We need to use the actual nixpkgs version we're working with here, since the values |
82 | 82 | # of 'lib.systems.examples' are not understood between all versions |
83 | 83 | let lib = nixpkgs.lib; |
84 | 84 | in lib.optionalAttrs (nixpkgsName == "unstable" |
85 | 85 | && (__match ".*llvm" compiler-nix-name == null) |
86 | | - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) |
87 | | - || (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) |
88 | | - || (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) |
89 | | - || (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc884" "ghc902" "ghc928" "ghc948"]) |
| 86 | + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) |
| 87 | + || (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) |
| 88 | + || (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982" "ghc983" "ghc984"]) |
| 89 | + || (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc982" "ghc983" "ghc984"]) |
90 | 90 | )) { |
91 | 91 | inherit (lib.systems.examples) ghcjs; |
92 | 92 | } // lib.optionalAttrs ( |
93 | 93 | (__match ".*llvm" compiler-nix-name == null) |
94 | | - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc91120240620"]) # Including GHC HEAD here because the patches for rts/RtsSymbols.c no longer apply and mingwW64 GHC build fails without them |
| 94 | + && ((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 |
95 | 95 | || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity |
96 | 96 | inherit (lib.systems.examples) mingwW64; |
97 | 97 | } // lib.optionalAttrs (nixpkgsName == "unstable" |
98 | 98 | && (__match ".*llvm" compiler-nix-name == null) |
99 | | - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902" "ghc928"]) |
| 99 | + && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902" "ghc928" "ghc948"]) |
100 | 100 | || (system == "x86_64-darwin" && builtins.elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity |
101 | 101 | inherit (lib.systems.examples) ucrt64; |
102 | | - } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884"]) { |
| 102 | + } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { |
103 | 103 | # Musl cross only works on linux |
104 | 104 | # aarch64 cross only works on linux |
105 | 105 | inherit (lib.systems.examples) musl64 aarch64-multiplatform; |
106 | 106 | } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && builtins.elem compiler-nix-name ["ghc927" "ghc928"]) { |
107 | 107 | # TODO fix this for the compilers we build with hadrian (ghc >=9.4) |
108 | 108 | inherit (lib.systems.examples) aarch64-multiplatform-musl; |
109 | | - } // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc884" "ghc8107" "ghc902"]) { |
| 109 | + } // lib.optionalAttrs (system == "aarch64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) { |
110 | 110 | inherit (lib.systems.examples) aarch64-multiplatform-musl; |
111 | 111 | }; |
112 | 112 | isDisabled = d: d.meta.disabled or false; |
|
0 commit comments