cachix: build using GHC 9.4 to avoid kernel crash

(cherry picked from commit 3a021d1a23)
This commit is contained in:
Domen Kožar
2023-05-24 15:51:20 +01:00
committed by github-actions[bot]
parent cc1aaa3622
commit a5f2d4f163
2 changed files with 4 additions and 2 deletions

View File

@@ -187,7 +187,8 @@ in {
servant-swagger = doJailbreak super.servant-swagger;
servant-client-core = doJailbreak super.servant-client-core;
servant-client = doJailbreak super.servant-client;
relude = doJailbreak super.relude;
# https://github.com/kowainik/relude/issues/436
relude = dontCheck (doJailbreak super.relude);
# Fixes compilation failure with GHC >= 9.4 on aarch64-* due to an API change
cborg = appendPatch (pkgs.fetchpatch {

View File

@@ -19821,7 +19821,8 @@ with pkgs;
c-blosc = callPackage ../development/libraries/c-blosc { };
# justStaticExecutables is needed due to https://github.com/NixOS/nix/issues/2990
cachix = haskell.lib.justStaticExecutables haskellPackages.cachix;
# ghc94: https://discourse.haskell.org/t/facing-mmap-4096-bytes-at-nil-cannot-allocate-memory-youre-not-alone/6259
cachix = haskell.lib.justStaticExecutables haskell.packages.ghc94.cachix;
calcium = callPackage ../development/libraries/calcium { };