haskellPackages: Bump hspec versions

This commit is contained in:
maralorn 2022-09-20 02:10:05 +02:00
parent 25cb49180f
commit 2d4bd8892f

View file

@ -817,12 +817,12 @@ self: super: {
# requires git at test-time *and* runtime, but we'll just rely on users to
# bring their own git at runtime
sensei = overrideCabal (drv: {
testHaskellDepends = drv.testHaskellDepends or [] ++ [ self.hspec-meta_2_9_3 ];
testHaskellDepends = drv.testHaskellDepends or [] ++ [ self.hspec-meta_2_10_5 ];
testToolDepends = drv.testToolDepends or [] ++ [ pkgs.git ];
}) (super.sensei.override {
hspec = self.hspec_2_10_5;
hspec = self.hspec_2_10_6;
hspec-wai = super.hspec-wai.override {
hspec = self.hspec_2_10_5;
hspec = self.hspec_2_10_6;
};
});
@ -1642,15 +1642,15 @@ self: super: {
servant-openapi3 = dontCheck super.servant-openapi3;
# Give hspec 2.10.* correct dependency versions without overrideScope
hspec_2_10_5 = doDistribute (super.hspec_2_10_5.override {
hspec-discover = self.hspec-discover_2_10_5;
hspec-core = self.hspec-core_2_10_5;
hspec_2_10_6 = doDistribute (super.hspec_2_10_6.override {
hspec-discover = self.hspec-discover_2_10_6;
hspec-core = self.hspec-core_2_10_6;
});
hspec-discover_2_10_5 = super.hspec-discover_2_10_5.override {
hspec-meta = self.hspec-meta_2_9_3;
hspec-discover_2_10_6 = super.hspec-discover_2_10_6.override {
hspec-meta = self.hspec-meta_2_10_5;
};
hspec-core_2_10_5 = super.hspec-core_2_10_5.override {
hspec-meta = self.hspec-meta_2_9_3;
hspec-core_2_10_6 = super.hspec-core_2_10_6.override {
hspec-meta = self.hspec-meta_2_10_5;
};
# Point hspec 2.7.10 to correct dependencies