From 1f6b1cbae47442ccee1ad9dbbcce3f44404e3564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Hamb=C3=BCchen?= Date: Sat, 28 Mar 2020 04:03:18 +0100 Subject: [PATCH] haskellPackages.hspec-core: Disable tests on i686. The tests have x86_64 results hardcoded, see https://github.com/hspec/hspec/issues/431. (cherry picked from commit 59e77d45b234162e2a6b804fe9c1462e6089afe8) --- pkgs/development/haskell-modules/configuration-common.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 985b99c9516af4f..120167a874caa70 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -314,6 +314,7 @@ self: super: { hs2048 = dontCheck super.hs2048; hsbencher = dontCheck super.hsbencher; hsexif = dontCheck super.hsexif; + hspec-core = if pkgs.stdenv.isi686 then dontCheck super.hspec-core else super.hspec-core; # tests rely on `Int` being 64-bit; https://github.com/hspec/hspec/issues/431 hspec-server = dontCheck super.hspec-server; HTF = dontCheck super.HTF; htsn = dontCheck super.htsn;