From 6ca420f7970bc686cce3be5debbd4cf16cfb112d Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Sat, 7 May 2022 15:39:58 +0800 Subject: [PATCH] haskellPackages.haskell-language-server: Disable plugin tests on all aarch64 builds --- pkgs/development/haskell-modules/configuration-arm.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-arm.nix b/pkgs/development/haskell-modules/configuration-arm.nix index 62aa67efd774..38a176c3db32 100644 --- a/pkgs/development/haskell-modules/configuration-arm.nix +++ b/pkgs/development/haskell-modules/configuration-arm.nix @@ -105,12 +105,9 @@ self: super: { # We disable profiling on aarch64, so tests naturally fail ghc-prof = dontCheck super.ghc-prof; -} // lib.optionalAttrs (pkgs.stdenv.hostPlatform.isAarch64 && builtins.compareVersions super.ghc.version "9.2" < 0) { - # Some aarch64 issues have been fixed since 9.2 - # Similar RTS issue in test suite: # rts/linker/elf_reloc_aarch64.c:98: encodeAddendAarch64: Assertion `isInt64(21+12, addend)' failed. - # Fixed since 9.2 + # These still fail sporadically on ghc 9.2 hls-ormolu-plugin = dontCheck super.hls-ormolu-plugin; hls-haddock-comments-plugin = dontCheck super.hls-haddock-comments-plugin; hls-rename-plugin = dontCheck super.hls-rename-plugin;