···819819 # itself causing an infinite recursion at evaluation
820820 # time
821821 random = dontCheck super.random;
822822+823823+ # Since this package is primarily used by nixpkgs maintainers and is probably
824824+ # not used to link against by anyone, we can make it’s closure smaller.
825825+ cabal2nix-unstable = justStaticExecutables super.cabal2nix-unstable;
826826+827827+ # test suite needs local redis daemon
828828+ nri-redis = dontCheck super.nri-redis;
829829+830830+ # Make tophat find itself for _compiling_ its test suite
831831+ tophat = overrideCabal super.tophat (drv: {
832832+ postPatch = ''
833833+ sed -i 's|"tophat"|"./dist/build/tophat/tophat"|' app-test-bin/*.hs
834834+ '' + (drv.postPatch or "");
835835+ });
822836}