From 5dd5faddc0279378a9cb56ec0025eae755cf0e8f Mon Sep 17 00:00:00 2001 From: Matt McHenry Date: Sat, 31 Mar 2018 13:59:49 -0400 Subject: [PATCH] elm: disable dependencies' tests to fix build these haskell packages need their tests disabled after recent hackage package version bumps. partial fix for #38023 --- pkgs/development/compilers/elm/default.nix | 2 ++ .../haskell-modules/configuration-ghc-8.0.x.nix | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/pkgs/development/compilers/elm/default.nix b/pkgs/development/compilers/elm/default.nix index 4520363a53b2..d2e9ce0f3059 100644 --- a/pkgs/development/compilers/elm/default.nix +++ b/pkgs/development/compilers/elm/default.nix @@ -91,6 +91,8 @@ let # https://github.com/elm-lang/elm-compiler/issues/1566 indents = hlib.overrideCabal super.indents (drv: { version = "0.3.3"; + #test dep tasty has a version mismatch + doCheck = false; sha256 = "16lz21bp9j14xilnq8yym22p3saxvc9fsgfcf5awn2a6i6n527xn"; libraryHaskellDepends = drv.libraryHaskellDepends ++ [super.concatenative]; }); diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix index 757c1d8c32d8..4ea4a5c28465 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix @@ -66,6 +66,13 @@ self: super: { inline-c = super.inline-c_0_5_6_1; inline-c-cpp = super.inline-c-cpp_0_1_0_0; + # test dep hedgehog pulls in concurrent-output, which does not build + # due to processing version mismatch + either = dontCheck super.either; + + # test dep tasty has a version mismatch + indents = dontCheck super.indents; + # Newer versions require GHC 8.2. haddock-api = self.haddock-api_2_17_4; haddock = self.haddock_2_17_5;