Repository navigation
Closed
Description
It seems like uuagc needs to be adjusted for Cabal >= 3.12 due to the introduction of the Suffix newtype: haskell/cabal@65905b9
Currently compilation fails with
[4 of 5] Compiling Distribution.Simple.UUAGC.UUAGC ( src/Distribution/Simple/UUAGC/UUAGC.hs, dist/build/Distribution/Simple/UUAGC/UUAGC.o, dist/build/Distribution/Simple/UUAGC/UUAGC.dyn_o )
src/Distribution/Simple/UUAGC/UUAGC.hs:109:52: error: [8;;https://errors.haskell.org/messages/GHC-83865GHC-838658;;]
• Couldn't match type ‘[Char]’ with ‘Suffix’
Expected: Suffix
Actual: String
• In the expression: "ag"
In the first argument of ‘(:)’, namely ‘("ag", ag)’
In the expression: ("ag", ag) : ("lag", ag) : knownSuffixHandlers
|
109 | hooks = simpleUserHooks { hookedPreProcessors = ("ag", ag):("lag",ag):knownSuffixHandlers
| ^^^^
src/Distribution/Simple/UUAGC/UUAGC.hs:109:63: error: [8;;https://errors.haskell.org/messages/GHC-83865GHC-838658;;]
• Couldn't match type ‘[Char]’ with ‘Suffix’
Expected: Suffix
Actual: String
• In the expression: "lag"
In the first argument of ‘(:)’, namely ‘("lag", ag)’
In the second argument of ‘(:)’, namely
‘("lag", ag) : knownSuffixHandlers’
|
109 | hooks = simpleUserHooks { hookedPreProcessors = ("ag", ag):("lag",ag):knownSuffixHandlers
| ^^^^^
Metadata
Metadata
Assignees
Labels
No labels
Activity
haskellPackages.glualint: drop obsolete override
haskellPackages.glualint: drop obsolete override
jbransen commentedon Sep 27, 2025
Thanks to @noughtmare this has now been fixed, I've uploaded a new version to Hackage.