haskellPackages.sensei: mark unbroken, override

Sensei had an issue on NixOS relating to tmpfs, and 0.6.2 fixes that.
But it still needs an override because it (the binary *and* the tests)
require the git binary and latest hspec.
This commit is contained in:
libjared 2022-04-21 14:23:33 -05:00
parent 2541ef4282
commit 5724dddf17
3 changed files with 12 additions and 3 deletions

View file

@ -851,6 +851,18 @@ self: super: {
# test suite requires git and does a bunch of git operations
restless-git = dontCheck super.restless-git;
# 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 ];
testToolDepends = drv.testToolDepends or [] ++ [ pkgs.git ];
}) (super.sensei.overrideScope (self: super: {
hspec-meta = self.hspec-meta_2_9_3;
hspec = self.hspec_2_9_7;
hspec-core = dontCheck self.hspec-core_2_9_7;
hspec-discover = self.hspec-discover_2_9_7;
}));
# Depends on broken fluid.
fluid-idl-http-client = markBroken super.fluid-idl-http-client;
fluid-idl-scotty = markBroken super.fluid-idl-scotty;

View file

@ -4467,7 +4467,6 @@ broken-packages:
- semigroups-actions
- sendgrid-haskell
- sendgrid-v3
- sensei
- sensu-run
- sentry
- separated

View file

@ -241978,8 +241978,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Automatically run Hspec tests on file modifications";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"sensenet" = callPackage