|
18 | 18 |
|
19 | 19 | # short names for nixpkgs versions |
20 | 20 | nixpkgsVersions = { |
21 | | - "R2411" = inputs.nixpkgs-2411; |
| 21 | + "R2505" = inputs.nixpkgs-2505; |
22 | 22 | "unstable" = inputs.nixpkgs-unstable; |
23 | 23 | }; |
24 | 24 |
|
|
43 | 43 | "libdwarf-20181024" |
44 | 44 | "dwarfdump-20181024" |
45 | 45 | ]; |
| 46 | + allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ |
| 47 | + "android-sdk-ndk" |
| 48 | + "android-sdk-platform-tools" |
| 49 | + "aarch64-unknown-linux-android-ndk-toolchain-wrapper" |
| 50 | + "aarch64-unknown-linux-android-ndk-toolchain" |
| 51 | + "armv7a-unknown-linux-androideabi-ndk-toolchain-wrapper" |
| 52 | + "armv7a-unknown-linux-androideabi-ndk-toolchain" |
| 53 | + ]; |
46 | 54 | }; |
47 | 55 | }; |
48 | 56 |
|
|
57 | 65 | # cabal-install and nix-tools plans. When removing a ghc version |
58 | 66 | # from here (so that is no longer cached) also remove ./materialized/ghcXXX. |
59 | 67 | # Update supported-ghc-versions.md to reflect any changes made here. |
60 | | - nixpkgs.lib.optionalAttrs (nixpkgsName == "R2411") { |
| 68 | + nixpkgs.lib.optionalAttrs (builtins.elem nixpkgsName ["R2411" "R2505"]) { |
61 | 69 | ghc96 = true; |
62 | 70 | ghc98 = true; |
63 | 71 | ghc910 = true; |
|
77 | 85 | let lib = nixpkgs.lib; |
78 | 86 | in lib.optionalAttrs (nixpkgsName == "unstable" |
79 | 87 | && (__match ".*llvm" compiler-nix-name == null) |
80 | | - && ((system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) |
81 | | - || (system == "aarch64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) |
82 | | - || (system == "x86_64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc967" "ghc96720250227" "ghc982" "ghc983" "ghc984"]) |
83 | | - || (system == "aarch64-darwin" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc966" "ghc967" "ghc96720250227" "ghc982" "ghc983" "ghc984"]) |
84 | | - )) { |
| 88 | + && !builtins.elem compiler-nix-name ["ghc9102"]) { |
85 | 89 | inherit (lib.systems.examples) ghcjs; |
86 | 90 | } // lib.optionalAttrs (nixpkgsName == "unstable" |
87 | 91 | && (__match ".*llvm" compiler-nix-name == null) |
|
100 | 104 | } // lib.optionalAttrs (__match ".*llvm" compiler-nix-name == null && system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { |
101 | 105 | # Out llvm versions of GHC seem to break for musl32 |
102 | 106 | inherit (lib.systems.examples) musl32; |
103 | | - } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "R2411" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { |
104 | | - inherit (lib.systems.examples) aarch64-android-prebuilt armv7a-android-prebuilt; |
| 107 | + } // lib.optionalAttrs (system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948"]) { |
| 108 | + inherit (lib.systems.examples) aarch64-android-prebuilt; |
| 109 | + } // lib.optionalAttrs (system == "x86_64-linux" && !builtins.elem compiler-nix-name ["ghc902" "ghc928" "ghc948" "ghc91320250523"]) { |
| 110 | + inherit (lib.systems.examples) armv7a-android-prebuilt; |
105 | 111 | } // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && !builtins.elem compiler-nix-name ["ghc8107" "ghc902"]) { |
106 | 112 | # TODO fix this for the compilers we build with hadrian (ghc >=9.4) |
107 | 113 | inherit (lib.systems.examples) aarch64-multiplatform-musl; |
|
0 commit comments