cabal install ShellCheck decided to build the deprecated v0.4.0 because apparently to other version has bounds compatible with GHC 9.14 yet. The build failed with:
ShellCheck/Analytics.hs:2698:38: error: [GHC-76037]
• Not in scope: ‘Map.insertWith'’
• Note: The module ‘Data.Map’ does not export ‘insertWith'’.
Suggested fix:
Perhaps use one of these:
‘Map.insertWith’ (imported from Data.Map),
‘Map.insertWithKey’ (imported from Data.Map)
|
2698 | modify (\(read, written) -> (Map.insertWith' (const id) name place read, written))
| ^^^^^^^^^^^^^^^
It would be good to revise the dependency bounds so cabal doesn't try to use it for new GHC versions. Something like containers < 0.6 should do the trick. If you don't mind, I can use my Hackage Trustee powers and add a corresponding revision for v0.4.0.
cabal install ShellCheckdecided to build the deprecated v0.4.0 because apparently to other version has bounds compatible with GHC 9.14 yet. The build failed with:It would be good to revise the dependency bounds so cabal doesn't try to use it for new GHC versions. Something like
containers < 0.6should do the trick. If you don't mind, I can use my Hackage Trustee powers and add a corresponding revision for v0.4.0.