···819 # itself causing an infinite recursion at evaluation
820 # time
821 random = dontCheck super.random;
00000000000000822}
···819 # itself causing an infinite recursion at evaluation
820 # time
821 random = dontCheck super.random;
822+823+ # Since this package is primarily used by nixpkgs maintainers and is probably
824+ # not used to link against by anyone, we can make it’s closure smaller.
825+ cabal2nix-unstable = justStaticExecutables super.cabal2nix-unstable;
826+827+ # test suite needs local redis daemon
828+ nri-redis = dontCheck super.nri-redis;
829+830+ # Make tophat find itself for _compiling_ its test suite
831+ tophat = overrideCabal super.tophat (drv: {
832+ postPatch = ''
833+ sed -i 's|"tophat"|"./dist/build/tophat/tophat"|' app-test-bin/*.hs
834+ '' + (drv.postPatch or "");
835+ });
836}