Skip to content
New issue

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

Building Docker image error #105

Open
elena-soare opened this issue Aug 17, 2022 · 1 comment
Open

Building Docker image error #105

elena-soare opened this issue Aug 17, 2022 · 1 comment

Comments

@elena-soare
Copy link

Hello! When I am trying to build the Docker image I get this error:

src/Distribution/Client/FetchUtils.hs:195:36: error:
* Couldn't match type Distribution.Types.PackageId.PackageIdentifier' with Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier'
NB: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier' is defined in Distribution.Types.PackageId'
in package Cabal-syntax-3.8.1.0' Distribution.Types.PackageId.PackageIdentifier'
is defined in Distribution.Types.PackageId' in package Cabal-3.6.0.0'
Expected type: Cabal-syntax-3.8.1.0:Distribution.Types.PackageId.PackageIdentifier
Actual type: PackageId
* In the second argument of Sec.downloadPackage', namely pkgid' In a stmt of a 'do' block: Sec.downloadPackage' rep pkgid path In the second argument of ($)', namely
`do info verbosity ("Writing " ++ path)
Sec.downloadPackage' rep pkgid path'
|
195 | Sec.downloadPackage' rep pkgid path
| ^^^^^

: warning: [-Wunused-packages]
The following packages were specified via -package or -package-id flags,
but were not needed for compilation:
- regex-posix-0.96.0.1
- regex-base-0.94.0.2
- echo-0.1.4
cabal: Failed to build exe:cabal from cabal-install-3.6.0.0. See the build log
above for details.

I believe it might be an incompatibility of versions, however I am not familiar with Docker to be able to tell. Thank you

@iain-mackie
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants