From e31a4d909d1fae09ba0f5be643f08f4f4e685678 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 25 Jul 2023 20:57:39 +0200 Subject: [PATCH] haskellPackages.hspec*_2_11_4: provide missing versioned deps --- pkgs/development/haskell-modules/configuration-common.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e01edf0686a8..cb2dafa760f6 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1736,7 +1736,12 @@ self: super: { hspec-discover = self.hspec-discover_2_11_4; hspec-core = self.hspec-core_2_11_4; }); - hspec-discover_2_11_4 = doDistribute super.hspec-discover_2_11_4; + hspec-meta_2_11_4 = doDistribute (super.hspec-meta_2_11_4.override { + hspec-expectations = self.hspec-expectations_0_8_4; + }); + hspec-discover_2_11_4 = doDistribute (super.hspec-discover_2_11_4.override { + hspec-meta = self.hspec-meta_2_11_4; + }); # Need to disable tests to prevent an infinite recursion if hspec-core_2_11_4 # is overlayed to hspec-core. hspec-core_2_11_4 = doDistribute (dontCheck (super.hspec-core_2_11_4.override {