Skip to content

Commit

Permalink
fix(hackage): pin http-client-tls to 0.3.6.3
Browse files Browse the repository at this point in the history
This is required due to this mess:

snoyberg/http-client#547

A different fix is required for Hoogle in the `nix develop` shell.
See:

input-output-hk/haskell.nix#2277

Signed-off-by: Drew Hess <src@drewhess.com>
  • Loading branch information
dhess committed Nov 2, 2024
1 parent 6716501 commit 5b59500
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,12 @@

#TODO Explicitly requiring tasty-discover shouldn't be necessary - see the commented-out `build-tool-depends` in primer.cabal.
tasty-discover = "latest";

# Required until http-client-tls mess is resolved.
#
# Ref:
# https://github.com/input-output-hk/haskell.nix/issues/2277
hoogle.index-state = "2024-10-01T00:00:00Z";
};

buildInputs = (with final; [
Expand Down
2 changes: 1 addition & 1 deletion primer-service/primer-service.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ executable primer-client
, bytestring >=0.10.8.2 && <0.13
, directory
, exceptions
, http-client-tls ^>=0.3.6.1
, http-client-tls ==0.3.6.3
, optparse-applicative
, primer
, primer-service
Expand Down

0 comments on commit 5b59500

Please sign in to comment.