[darcs-devel] [patch2174] support Cabal 3.4 (and 9 more)

Ganesh Sittampalam bugs at darcs.net
Wed May 19 12:13:43 UTC 2021


Ganesh Sittampalam <ganesh at earth.li> added the comment:

On 19/05/2021 12:53, Ben Franksen wrote:
> 
> Ben Franksen <ben.franksen at online.de> added the comment:
> 
> I tried building the head with
> 
>> cabal-3.4 update && cabal-3.4 build -w ghc-9.0.1
> 
> but it fails when compiling the dependencies:
> 
> Building library for regex-compat-tdfa-0.95.1.4..
> [1 of 1] Compiling Text.Regex       ( Text/Regex.hs,
> dist/build/Text/Regex.o, dist/build/Text/Regex.dyn_o )
> 
> Text/Regex.hs:142:22: error:
>     Bang pattern in expression context: !0
>     Did you mean to add a space after the '!'?
>     |
> 142 |   let matches = map (!0) (matchAll delim strIn)
>     |                      ^^

Yep - see https://hub.darcs.net/shelarcy/regex-compat-tdfa/issue/2

(I mentioned this in patch2172 but not here, sorry)

I've got a patch and also tried emailing the maintainer, no reply so
far. Next step after waiting a bit would be to ask the Hackage Trusteers
to do a non-maintainer upload or similar - or just inline the code
ourselves, it's only one file.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch2174>
__________________________________


More information about the darcs-devel mailing list