Failed to build hsqml-0.3.6.0 (which is required by exe:hsqml-manic from hsqml-demo-manic-0.3.4.0). The failure occurred during the configure step. The exception was:
/home/tchoutri/.cabal/logs/ghc-9.6.6/hsqml-0.3.6.0-bbf364fa739e65c12065e8b96c8d7bdcf0cf552fac6fd82f4a04eb906d508f21.log: withFile: user error (Error: cabal: '/home/tchoutri/.ghcup/bin/ghc' exited with an error:
dist/setup/setup.hs:184:36: error: [GHC-83865]
• Couldn't match type ‘[Char]’
with ‘Distribution.Simple.PreProcess.Types.Suffix’
Expected: Distribution.Simple.PreProcess.Types.Suffix
Actual: String
• In the expression: "o"
In the first argument of ‘findFileWithExtension’, namely ‘["o"]’
In the first argument of ‘mapM’, namely
‘(findFileWithExtension ["o"] [bDir])’
|
184 | mapM (findFileWithExtension ["o"] [bDir]) $ map (++ "_stub") ms
| ^^^
With GHC 9.6.6 I get the following error message: