@@ -1027,13 +1027,17 @@ self: super: {
10271027 cairo = addBuildTool super.cairo self.gtk2hs-buildtools;
10281028 pango = addBuildTool super.pango self.gtk2hs-buildtools;
10291029
1030− # Tests fail with "Couldn't launch intero process."
1031− intero = dontCheck super.intero;
1030+ # Fix tests which would otherwise fail with "Couldn't launch intero process."
1031+ intero = overrideCabal super.intero (drv: {
1032+ postPatch = (drv.postPatch or "") + ''
1033+ substituteInPlace src/test/Main.hs --replace "\"intero\"" "\"$PWD/dist/build/intero/intero\""
1034+ '';
1035+ });
10321036
10331037 # libmpd has an upper-bound on time which doesn't seem to be a real build req
10341038 libmpd = dontCheck (overrideCabal super.libmpd (drv: {
10351039 postPatch = (drv.postPatch or "") + ''
1036− substituteInPlace ./libmpd.cabal --replace "time >=1.5 && <1.6" "time >=1.5"
1040+ substituteInPlace libmpd.cabal --replace "time >=1.5 && <1.6" "time >=1.5"
10371041 '';
10381042 }));
10391043}