haskellPackages.safe-exceptions: simplify override

This commit is contained in:
Colin
2026-01-19 01:03:19 +00:00
parent df8a366146
commit 8b62337df7
@@ -508,10 +508,8 @@ builtins.intersectAttrs super {
lz4-frame-conduit = addTestToolDepends [ pkgs.lz4 ] super.lz4-frame-conduit;
safe-exceptions = overrideCabal (drv: {
# Fix strictDeps build error "could not execute: hspec-discover"
testToolDepends = drv.testToolDepends or [ ] ++ [ self.hspec-discover ];
}) super.safe-exceptions;
# Fix strictDeps build error "could not execute: hspec-discover"
safe-exceptions = addTestToolDepends [ self.hspec-discover ] super.safe-exceptions;
# Test suite requires running a database server. Testing is done upstream.
hasql = dontCheck super.hasql;