We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running stack install cabal-install with GHC 9.2.4, the installation fails with:
stack install cabal-install
9.2.4
cabal-install> /tmp/stack-d8f2a9befd3f2b75/cabal-install-3.4.1.0/Distribution/Client/Init/FileCreators.hs:452:59: error: cabal-install> • Couldn't match type: [Char] cabal-install> with: Distribution.Utils.Path.SymbolicPath cabal-install> Distribution.Utils.Path.PackageDir cabal-install> Distribution.Utils.Path.SourceDir cabal-install> Expected: Maybe cabal-install> [Distribution.Utils.Path.SymbolicPath cabal-install> Distribution.Utils.Path.PackageDir cabal-install> Distribution.Utils.Path.SourceDir] cabal-install> Actual: Maybe [String] cabal-install> • In the expression: sourceDirs c cabal-install> In a case alternative: LibBuild -> sourceDirs c cabal-install> In the first argument of ‘maybeToFlag’, namely cabal-install> ‘(case buildType of cabal-install> LibBuild -> sourceDirs c cabal-install> ExecBuild -> applicationDirs c)’ cabal-install> | cabal-install> 452 | LibBuild -> sourceDirs c cabal-install> | ^^^^^^^^^^^^ cabal-install> cabal-install> /tmp/stack-d8f2a9befd3f2b75/cabal-install-3.4.1.0/Distribution/Client/Init/FileCreators.hs:453:60: error: cabal-install> • Couldn't match type: [Char] cabal-install> with: Distribution.Utils.Path.SymbolicPath cabal-install> Distribution.Utils.Path.PackageDir cabal-install> Distribution.Utils.Path.SourceDir cabal-install> Expected: Maybe cabal-install> [Distribution.Utils.Path.SymbolicPath cabal-install> Distribution.Utils.Path.PackageDir cabal-install> Distribution.Utils.Path.SourceDir] cabal-install> Actual: Maybe [String] cabal-install> • In the expression: applicationDirs c cabal-install> In a case alternative: ExecBuild -> applicationDirs c cabal-install> In the first argument of ‘maybeToFlag’, namely cabal-install> ‘(case buildType of cabal-install> LibBuild -> sourceDirs c cabal-install> ExecBuild -> applicationDirs c)’ cabal-install> | cabal-install> 453 | ExecBuild -> applicationDirs c)) cabal-install> | ^^^^^^^^^^^^^^^^^ cabal-install> cabal-install> /tmp/stack-d8f2a9befd3f2b75/cabal-install-3.4.1.0/Distribution/Client/Init/FileCreators.hs:610:22: error: cabal-install> • Couldn't match type: [Char] cabal-install> with: Distribution.Utils.Path.SymbolicPath cabal-install> Distribution.Utils.Path.PackageDir cabal-install> Distribution.Utils.Path.SourceDir cabal-install> Expected: Maybe cabal-install> [Distribution.Utils.Path.SymbolicPath cabal-install> Distribution.Utils.Path.PackageDir cabal-install> Distribution.Utils.Path.SourceDir] cabal-install> Actual: Maybe [String] cabal-install> • In the first argument of ‘maybeToFlag’, namely ‘(testDirs c)’ cabal-install> In the third argument of ‘fieldPAla’, namely cabal-install> ‘(maybeToFlag (testDirs c))’ cabal-install> In the expression: cabal-install> fieldPAla cabal-install> "hs-source-dirs" formatHsSourceDirs (maybeToFlag (testDirs c)) cabal-install> ["Directories containing source files."] True cabal-install> | cabal-install> 610 | (maybeToFlag (testDirs c)) cabal-install> | ^^^^^^^^^^
I can't seem to find any information related to this error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When running
stack install cabal-install
with GHC9.2.4
, the installation fails with:I can't seem to find any information related to this error
The text was updated successfully, but these errors were encountered: