From f5865286fd4a0bd24086b39c0d41d351c1e270fa Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Wed, 5 May 2021 22:07:47 +0200 Subject: [PATCH] haskellPackages.ad: fix build on aarch64 untested --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b0ff20c4cf7..f5d3472e7ac 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1840,4 +1840,10 @@ self: super: { '' + (drv.postPatch or ""); }); + # GHCi issue on aarch64 prevent doctests from running + # https://gitlab.haskell.org/ghc/ghc/-/issues/15275#note_295437 + ad = overrideCabal super.ad { + doCheck = !pkgs.stdenv.hostPlatform.isAarch64; + }; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super