From a2cbfd961b7b3815336623b38dbec07b1bd9e404 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 24 Sep 2018 21:22:57 +0200 Subject: [PATCH] haskell-hspec: fix build with ghc-8.6.x --- pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index b49b9cea60b..bbfee4b426a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -47,8 +47,10 @@ self: super: { # LTS-12.x versions do not compile. contravariant = self.contravariant_1_5; doctest = self.doctest_0_16_0_1; + hspec = self.hspec_2_5_7; hspec-core = self.hspec-core_2_5_7; hspec-core_2_5_7 = super.hspec-core_2_5_7.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_12_4; }); + hspec-discover = self.hspec-discover_2_5_7; hspec-meta = self.hspec-meta_2_5_6; hspec-meta_2_5_6 = super.hspec-meta_2_5_6.overrideScope (self: super: { QuickCheck = self.QuickCheck_2_12_4; }); primitive = self.primitive_0_6_4_0;