haskellPackages.sensei: enable test

Our hspec is at 2.11.10 now and the upstream issue is closed.
This commit is contained in:
Wolfgang Walther
2025-02-11 01:17:32 +01:00
committed by sternenseemann
parent e39d5ae44e
commit 4a4e0c352d
3 changed files with 2 additions and 10 deletions
@@ -1191,19 +1191,14 @@ self: super: {
# test suite requires git and does a bunch of git operations
restless-git = dontCheck super.restless-git;
# patch out a flaky test that depends on output from hspec >= v2.11.7.
# https://github.com/hspec/sensei/issues/125
sensei = appendPatch (fetchpatch {
url = "https://github.com/hspec/sensei/commit/5c11026fa48e13ea1c351ab882765eb0966f2e97.patch";
hash = "sha256-eUCDvypj2bxTRnHLzrcembLMKHg5c3W3quNfclBDsso=";
}) (overrideCabal (drv: {
sensei = overrideCabal (drv: {
# sensei passes `-package hspec-meta` to GHC in the tests, but doesn't
# depend on it itself.
testHaskellDepends = drv.testHaskellDepends or [] ++ [ self.hspec-meta ];
# requires git at test-time *and* runtime, but we'll just rely on users to
# bring their own git at runtime.
testToolDepends = drv.testToolDepends or [] ++ [ pkgs.git ];
}) super.sensei);
}) super.sensei;
# Depends on broken fluid.
fluid-idl-http-client = markBroken super.fluid-idl-http-client;
@@ -5318,7 +5318,6 @@ broken-packages:
- semilattices # failure in job https://hydra.nixos.org/build/233223765 at 2023-09-02
- sendgrid-haskell # failure in job https://hydra.nixos.org/build/233228693 at 2023-09-02
- sendgrid-v3 # failure in job https://hydra.nixos.org/build/233224134 at 2023-09-02
- sensei # failure in job https://hydra.nixos.org/build/241518007 at 2023-12-03
- sensu-run # failure in job https://hydra.nixos.org/build/233251719 at 2023-09-02
- sentry # failure in job https://hydra.nixos.org/build/233246813 at 2023-09-02
- seonbi # failure in job https://hydra.nixos.org/build/233196115 at 2023-09-02
-2
View File
@@ -273145,9 +273145,7 @@ self: {
description = "Automatically run Hspec tests on file modifications";
license = lib.licenses.mit;
badPlatforms = lib.platforms.darwin;
hydraPlatforms = lib.platforms.none;
maintainers = [ lib.maintainers.libjared ];
broken = true;
}) {};
"sensenet" = callPackage