-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
We get this build error when Cabal-3.14 is being used, which makes sense since
- It expects https://github.com/haskell/entropy/blob/5d0c71ef2b95b2f6314fbb6a24be7bb39dba99bb/Setup.hs#L111C23-L111C40
- But it gets: https://hackage.haskell.org/package/Cabal-3.14.0.0/docs/Distribution-Simple-Utils.html#v:rawSystemExitCode
entropy> Setup.hs:111:23: error:
entropy> * Couldn't match type `[String]
entropy> -> Maybe [(String, String)] -> IO ExitCode'
entropy> with `IO ExitCode'
entropy> Expected type: Verbosity -> FilePath -> [String] -> IO ExitCode
entropy> Actual type: Verbosity
entropy> -> Maybe
entropy> (Distribution.Utils.Path.SymbolicPath
entropy> Distribution.Utils.Path.CWD
entropy> ('Distribution.Utils.Path.Dir Distribution.Utils.Path.Pkg))
entropy> -> FilePath
entropy> -> [String]
entropy> -> Maybe [(String, String)]
entropy> -> IO ExitCode
entropy> * Probable cause: `rawSystemExitCode' is applied to too few arguments
entropy> In the expression: rawSystemExitCode
entropy> In an equation for `myRawSystemExitCode':
entropy> myRawSystemExitCode = rawSystemExitCode
entropy> |
entropy> 111 | myRawSystemExitCode = rawSystemExitCode
entropy> | ^^^^^^^^^^^^^^^^^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels