3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.tophat: unbreak

This commit is contained in:
sternenseemann 2021-06-05 18:39:33 +02:00
parent 776e8fd668
commit e4d21886f4

View file

@ -826,4 +826,11 @@ self: super: builtins.intersectAttrs super {
# test suite needs local redis daemon
nri-redis = dontCheck super.nri-redis;
# Make tophat find itself for _compiling_ its test suite
tophat = overrideCabal super.tophat (drv: {
postPatch = ''
sed -i 's|"tophat"|"./dist/build/tophat/tophat"|' app-test-bin/*.hs
'' + (drv.postPatch or "");
});
}