/home/curators/work/unpack-dir/unpacked/mysql-0.2.1-567eaea9d842f5ece8702d3d895b7573c168faa986ad9071019877bf8edacf39/Setup.hs:82:25: error: [GHC-83865]
• Couldn't match type: [Char]
with: Distribution.Utils.Path.SymbolicPathX
Distribution.Utils.Path.AllowAbsolute
Distribution.Utils.Path.Pkg
(Distribution.Utils.Path.Dir Distribution.Utils.Path.Lib)
Expected: [Char]
-> Distribution.Utils.Path.SymbolicPath
Distribution.Utils.Path.Pkg
(Distribution.Utils.Path.Dir Distribution.Utils.Path.Lib)
Actual: [Char] -> [Char]
• In the first argument of ‘map’, namely ‘(drop 2)’
In the first argument of ‘(.)’, namely ‘map (drop 2)’
In the first argument of ‘($)’, namely
‘map (drop 2) . filter ("-L" `isPrefixOf`)’
|
82 | extraLibDirs = map (drop 2) . filter ("-L" `isPrefixOf`) $
| ^^^^^^
/home/curators/work/unpack-dir/unpacked/mysql-0.2.1-567eaea9d842f5ece8702d3d895b7573c168faa986ad9071019877bf8edacf39/Setup.hs:88:24: error: [GHC-83865]
• Couldn't match type: [Char]
with: Distribution.Utils.Path.SymbolicPathX
Distribution.Utils.Path.AllowAbsolute
Distribution.Utils.Path.Pkg
(Distribution.Utils.Path.Dir Distribution.Utils.Path.Include)
Expected: [Char]
-> Distribution.Utils.Path.SymbolicPath
Distribution.Utils.Path.Pkg
(Distribution.Utils.Path.Dir Distribution.Utils.Path.Include)
Actual: [Char] -> [Char]
• In the first argument of ‘map’, namely ‘(drop 2)’
In the expression: map (drop 2) include
In an equation for ‘includeDirs’:
includeDirs = map (drop 2) include
|
88 | , includeDirs = map (drop 2) include
| ^^^^^^
Stackage Nightly with ghc-9.12.2 says: