prolic / HsQML

This is a mirror of the darcs repository at http://hub.darcs.net/komadori/HsQML
http://www.gekkou.co.uk/software/hsqml/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Couldn't match type ‘[Char]’ with ‘Distribution.Simple.PreProcess.Types.Suffix’ #2

Open Kleidukos opened 2 months ago

Kleidukos commented 2 months ago

With GHC 9.6.6 I get the following error message:

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
| ^^^
prolic commented 2 months ago

Feel free to submit a pull request. If you don't know how to solve this issue, I might be able to look into it.