From 46f937dddd519e7e48fcaa32393956e104a0c305 Mon Sep 17 00:00:00 2001 From: Drew Hess Date: Mon, 15 Oct 2018 20:07:27 -0400 Subject: [PATCH] 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. --- pkgs/development/haskell-modules/configuration-common.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 125413d6151..e59e4a67269 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