Merge pull request #233833 from domenkozar/fix-cachix-crash

cachix: build using GHC 9.4 to avoid kernel crash
This commit is contained in:
Domen Kožar 2023-05-24 17:09:00 +01:00 committed by GitHub
commit 178b88e3ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -19838,7 +19838,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 { };