summary refs log tree commit diff
diff options
context:
space:
mode:
authorsternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-05 22:07:47 +0200
committersternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org>2021-05-05 22:07:47 +0200
commitf5865286fd4a0bd24086b39c0d41d351c1e270fa (patch)
tree2c04ff72d8a94c638c74638aeba500c5805bceb9
parentf5a9654af4a985718659ce36f5ce2bd391d12bd7 (diff)
downloadnixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.tar
nixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.tar.gz
nixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.tar.bz2
nixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.tar.lz
nixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.tar.xz
nixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.tar.zst
nixpkgs-f5865286fd4a0bd24086b39c0d41d351c1e270fa.zip
haskellPackages.ad: fix build on aarch64
untested
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 6 insertions, 0 deletions
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