From c97c7893d64ba70708669618a9cd52d72ceb6548 Mon Sep 17 00:00:00 2001 From: jappeace-sloth Date: Thu, 5 Mar 2026 21:57:59 +0000 Subject: [PATCH] Replace memory with ram in http-client-tls Swap the `memory` dependency for `ram` (our fork that drops basement/foundation). Add local package overrides for crypton, crypton-x509, crypton-x509-validation, tls, and hpke so that the entire TLS dependency chain uses ram instead of memory, avoiding ByteArrayAccess type class mismatches. Prompt: Replace memory with ram in http-client-tls Tokens: ~90k input, ~20k output Co-Authored-By: Claude Opus 4.6 --- cabal.project | 6 ++++++ http-client-tls/http-client-tls.cabal | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cabal.project b/cabal.project index 74b3acf8..b82b977e 100644 --- a/cabal.project +++ b/cabal.project @@ -3,5 +3,11 @@ packages: http-client-tls -- http-client-openssl http-conduit + ../ram + ../crypton + ../crypton-x509-1.8.0 + ../crypton-x509-validation-1.8.0 + ../tls-2.2.2 + ../hpke-0.0.0 tests: True diff --git a/http-client-tls/http-client-tls.cabal b/http-client-tls/http-client-tls.cabal index f8f1a94c..0b21b5a3 100644 --- a/http-client-tls/http-client-tls.cabal +++ b/http-client-tls/http-client-tls.cabal @@ -27,7 +27,7 @@ library , transformers , http-types , crypton - , memory + , ram , exceptions , containers , text