hoogle icon indicating copy to clipboard operation
hoogle copied to clipboard

Problems after building with crypton-connection-0.4.0

Open UnrelatedMicrowave opened this issue 1 year ago • 2 comments

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

UnrelatedMicrowave avatar May 26 '24 12:05 UnrelatedMicrowave

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

rmullin7286 avatar Jun 05 '24 05:06 rmullin7286

@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.

https://github.com/ndmitchell/hoogle/issues/427

evan0greenup avatar Jul 02 '24 16:07 evan0greenup

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.

ndmitchell avatar Jul 28 '24 21:07 ndmitchell