Skip to content

Commit

Permalink
Switch to ghc-8.10.2 in Hydra
Browse files Browse the repository at this point in the history
  • Loading branch information
mrBliss authored and newhoggy committed Oct 26, 2020
1 parent bec71e4 commit 8966f1d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
8 changes: 4 additions & 4 deletions nix/haskell.nix
Expand Up @@ -7,7 +7,7 @@
, buildPackages
, config ? {}
# GHC attribute name
, compiler ? config.haskellNix.compiler or "ghc865"
, compiler ? config.haskellNix.compiler or "ghc8102"
# Enable profiling
, profiling ? config.haskellNix.profiling or false
}:
Expand All @@ -23,10 +23,10 @@ let
pkgSet = haskell-nix.cabalProject {
inherit src;
compiler-nix-name = compiler;
#ghc = buildPackages.haskell-nix.compiler.${compiler};
modules = [
# Allow reinstallation of Win32
{ nonReinstallablePkgs =
({ pkgs, ... }: lib.mkIf pkgs.stdenv.hostPlatform.isWindows {
nonReinstallablePkgs =
[ "rts" "ghc-heap" "ghc-prim" "integer-gmp" "integer-simple" "base"
"deepseq" "array" "ghc-boot-th" "pretty" "template-haskell"
# ghcjs custom packages
Expand All @@ -40,7 +40,7 @@ let
"xhtml"
# "stm" "terminfo"
];
}
})
{
packages.cardano-prelude.configureFlags = [ "--ghc-option=-Werror" ];
enableLibraryProfiling = profiling;
Expand Down
12 changes: 6 additions & 6 deletions nix/sources.json
Expand Up @@ -5,10 +5,10 @@
"homepage": "https://input-output-hk.github.io/haskell.nix",
"owner": "input-output-hk",
"repo": "haskell.nix",
"rev": "f8443bf2ae2240fdc233eaa435220bfb679d2ef4",
"sha256": "1iv19hkdbzbs2vlc9qciak2imbpf6v7pqpypc3ivd8hkdvv2vf0w",
"rev": "f658beaffde797a57cbdf6d9d40c69cf9db0aeb6",
"sha256": "1wllacmdhmyhf4yx3jw7kzw91nlf0m5zapy3kzkwwxz87qwk8a3m",
"type": "tarball",
"url": "https://github.com/input-output-hk/haskell.nix/archive/f8443bf2ae2240fdc233eaa435220bfb679d2ef4.tar.gz",
"url": "https://github.com/input-output-hk/haskell.nix/archive/f658beaffde797a57cbdf6d9d40c69cf9db0aeb6.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"iohk-nix": {
Expand All @@ -17,10 +17,10 @@
"homepage": null,
"owner": "input-output-hk",
"repo": "iohk-nix",
"rev": "f2dee151a917aac96121246ed76fb17e3f9026b0",
"sha256": "1d8ygzczk4zbzz04j1yrwzbfld59bc6a6ar7bmlfx1j5m6fhjb8k",
"rev": "f0542228f98a2590e0f39c507b364321995ad802",
"sha256": "0yhgjg4bj7cv1lmrb9ig2iapv1mslhn6m750zn2x0n1a3ll267yh",
"type": "tarball",
"url": "https://github.com/input-output-hk/iohk-nix/archive/f2dee151a917aac96121246ed76fb17e3f9026b0.tar.gz",
"url": "https://github.com/input-output-hk/iohk-nix/archive/f0542228f98a2590e0f39c507b364321995ad802.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
}
}
3 changes: 1 addition & 2 deletions release.nix
Expand Up @@ -54,11 +54,10 @@ let

# musl64 disabled for now: https://github.com/NixOS/nixpkgs/issues/43795
#inherit (systems.examples) mingwW64 musl64;
inherit (systems.examples) mingwW64 musl64;

jobs = {
native = mapTestOn (__trace (__toJSON (packagePlatforms project)) (packagePlatforms project));
"${mingwW64.config}" = mapTestOnCross mingwW64 (packagePlatformsCross project);
#"${mingwW64.config}" = mapTestOnCross mingwW64 (packagePlatformsCross project);
# musl64 disabled for now: https://github.com/NixOS/nixpkgs/issues/43795
#musl64 = mapTestOnCross musl64 (packagePlatformsCross project);
} // (mkRequiredJob (
Expand Down

0 comments on commit 8966f1d

Please sign in to comment.