about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDrew Hess <src@drewhess.com>2018-10-15 20:07:27 -0400
committerDrew Hess <src@drewhess.com>2018-10-15 20:07:27 -0400
commit46f937dddd519e7e48fcaa32393956e104a0c305 (patch)
tree7eb0d460466072db358904a6de9399d08c4df287
parentc3aae553167011fea1c0f40687136b2af15a3fba (diff)
downloadnixlib-46f937dddd519e7e48fcaa32393956e104a0c305.tar
nixlib-46f937dddd519e7e48fcaa32393956e104a0c305.tar.gz
nixlib-46f937dddd519e7e48fcaa32393956e104a0c305.tar.bz2
nixlib-46f937dddd519e7e48fcaa32393956e104a0c305.tar.lz
nixlib-46f937dddd519e7e48fcaa32393956e104a0c305.tar.xz
nixlib-46f937dddd519e7e48fcaa32393956e104a0c305.tar.zst
nixlib-46f937dddd519e7e48fcaa32393956e104a0c305.zip
haskellPackages.language-nix: disable tests on aarch64.
The test suite fails on aarch64 with a linker error that looks
suspiciously like this outstanding GHC issue:

https://ghc.haskell.org/trac/ghc/ticket/15275

Note that this change also fixes the existing `isi686` check to
conform to the new cross-compiling arch check.
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 125413d61511..e59e4a67269d 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -332,7 +332,7 @@ self: super: {
   itanium-abi = dontCheck super.itanium-abi;
   katt = dontCheck super.katt;
   language-slice = dontCheck super.language-slice;
-  language-nix = if pkgs.stdenv.isi686 then dontCheck super.language-nix else super.language-nix;
+  language-nix = if (pkgs.stdenv.hostPlatform.isAarch64 || pkgs.stdenv.hostPlatform.isi686) then dontCheck super.language-nix else super.language-nix; # aarch64: https://ghc.haskell.org/trac/ghc/ticket/15275
   ldap-client = dontCheck super.ldap-client;
   lensref = dontCheck super.lensref;
   lucid = dontCheck super.lucid; #https://github.com/chrisdone/lucid/issues/25