File tree Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Expand file tree Collapse file tree 4 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 29
29
} // nixpkgs . lib . optionalAttrs ( nixpkgsName == "R2009" ) {
30
30
ghc884 = true ;
31
31
ghc8104 = true ;
32
- ghc810220201118 = false ;
33
32
} // nixpkgs . lib . optionalAttrs ( nixpkgsName == "unstable" ) {
34
33
ghc884 = true ;
35
34
ghc8104 = true ;
35
+ ghc810420210212 = false ;
36
36
} ) ;
37
37
systems = nixpkgs : nixpkgs . lib . filterAttrs ( _ : v : builtins . elem v supportedSystems ) {
38
38
# I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux!
46
46
in lib . optionalAttrs ( nixpkgsName == "unstable" && ( __elem compiler-nix-name [ "ghc865" "ghc884" ] ) ) {
47
47
inherit ( lib . systems . examples ) ghcjs ;
48
48
} // lib . optionalAttrs ( system == "x86_64-linux" && (
49
- ( nixpkgsName == "R2009" && __elem compiler-nix-name [ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810220201118 " ] )
49
+ ( nixpkgsName == "R2009" && __elem compiler-nix-name [ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212 " ] )
50
50
|| ( nixpkgsName == "R2003" && __elem compiler-nix-name [ "ghc865" ] ) ) ) {
51
51
# Windows cross compilation is currently broken on macOS
52
52
inherit ( lib . systems . examples ) mingwW64 ;
Original file line number Diff line number Diff line change 423
423
424
424
ghc-patches = ghc-patches "8.10.4" ;
425
425
} ;
426
- # ghc 8.10.2 with patches needed by plutus
427
- ghc810220201118 = final . callPackage ../compiler/ghc {
428
- extra-passthru = { buildGHC = final . buildPackages . haskell-nix . compiler . ghc810220201118 ; } ;
426
+ # ghc 8.10.4 with patches needed by plutus
427
+ ghc810420210212 = final . callPackage ../compiler/ghc {
428
+ extra-passthru = { buildGHC = final . buildPackages . haskell-nix . compiler . ghc810420210212 ; } ;
429
429
430
430
bootPkgs = bootPkgs // {
431
431
# Not using 8.8 due to https://gitlab.haskell.org/ghc/ghc/-/issues/18143
@@ -437,16 +437,15 @@ in {
437
437
llvmPackages = final . llvmPackages_9 ;
438
438
439
439
src-spec = rec {
440
- version = "8.10.2 " ;
440
+ version = "8.10.4 " ;
441
441
url = "https://downloads.haskell.org/~ghc/${ version } /ghc-${ version } -src.tar.xz" ;
442
- sha256 = "02w8n085bw38vyp694j0lfk5wcnwkdaj7hhp0saj71x74533lmww " ;
442
+ sha256 = "03li4k10hxgyxcdyyz2092wx09spr1599hi0sxbh4m889qdqgbsj " ;
443
443
} ;
444
-
445
- ghc-patches = ghc-patches "8.10.2"
444
+ ghc-patches = ghc-patches "8.10.4"
446
445
++ [ ./patches/ghc/core-field.patch ] ;
447
446
448
- # Avoid clashes with normal ghc8102
449
- ghc-version = "8.10.2.20201118 " ;
447
+ # Avoid clashes with normal ghc8104
448
+ ghc-version = "8.10.4.20210212 " ;
450
449
} ;
451
450
} // final . lib . optionalAttrs ( final . targetPlatform . isGhcjs or false ) (
452
451
if final . hostPlatform . isGhcjs
Original file line number Diff line number Diff line change 202
202
coverage-golden = callTest ./coverage-golden { inherit compiler-nix-name ; } ;
203
203
coverage-no-libs = callTest ./coverage-no-libs { inherit compiler-nix-name ; } ;
204
204
snapshots = callTest ./snapshots { } ;
205
- } // lib . optionalAttrs ( ! stdenv . hostPlatform . isGhcjs && ! ( __elem compiler-nix-name [ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810220201118 " ] ) ) {
205
+ } // lib . optionalAttrs ( ! stdenv . hostPlatform . isGhcjs && ! ( __elem compiler-nix-name [ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212 " ] ) ) {
206
206
# Pandoc does not build with ghcjs or ghc 8.10 yet (lookup-sha256 and fully-static build pandoc)
207
207
lookup-sha256 = callTest ./lookup-sha256 { inherit compiler-nix-name ; } ;
208
208
# fully-static = callTest ./fully-static { inherit (pkgs) buildPackages; };
Original file line number Diff line number Diff line change 20
20
platforms = platforms . unix ;
21
21
# Building reinstallable lib GHC is broken on 8.10, and we require lib ghc so this won't work with cross-compiling.
22
22
# Moreover, even building the plan doesn't seem to work in these circumstances.
23
- disabled = stdenv . buildPlatform != stdenv . hostPlatform || stdenv . hostPlatform . isMusl || __elem compiler-nix-name [ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810220201118 " ] ;
23
+ disabled = stdenv . buildPlatform != stdenv . hostPlatform || stdenv . hostPlatform . isMusl || __elem compiler-nix-name [ "ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212 " ] ;
24
24
} ;
25
25
in
26
26
You can’t perform that action at this time.
0 commit comments