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

Problems after building with crypton-connection-0.4.0 #423

Closed
UnrelatedMicrowave opened this issue May 26, 2024 · 3 comments
Closed

Problems after building with crypton-connection-0.4.0 #423

UnrelatedMicrowave opened this issue May 26, 2024 · 3 comments

Comments

@UnrelatedMicrowave
Copy link

After installing hoogle with cabal install the command hoogle generate was giving the error below:
Starting generate Downloading https://www.stackage.org/lts/cabal.config... hoogle: src/Input/Download.hs:(45,8)-(49,7): Missing field in record construction settingClientSupported
Because the TLSSettings constructor takes more than those 3 arguments with this version of the library.

I solved the problem by changing the hoogle.cabal file, I've put a == 0.3.2 after the crypton-connection dependency.

Sorry if this issue isn't well written, first time writing one.

Information that maybe is useful:
cabal --version gives:
cabal-install version 3.10.3.0 compiled using version 3.10.3.0 of the Cabal library
and ghc --version gives:
The Glorious Glasgow Haskell Compilation System, version 9.4.8

@rmullin7286
Copy link

I can confirm that this issue is also affecting me after a fresh install of hoogle

@evan0greenup
Copy link

@UnrelatedMicrowave , I believe the simplest solution is add stack.yaml and built with stack.

The latest crypton-connection on Stackage is 0.3.2. Which will make it works.

#427

ndmitchell added a commit that referenced this issue Jul 28, 2024
@ndmitchell
Copy link
Owner

Moved to support crypto-connection 0.4.1 in the repo, and add a == 0.3.2 in a Hackage revision. Let me know if you still see issues.

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

Successfully merging a pull request may close this issue.

4 participants