Fix Haskell toolchain proxy configuration#10
Merged
Conversation
Documents the TLS/SSL handshake failure issue that occurs when using Stack in Claude Code web environments. Stack's HTTP library doesn't automatically use the https_proxy environment variable, causing connection failures to Hackage and other Haskell resources. The workaround involves creating ~/.stack/config.yaml with explicit proxy settings pointing to the internal egress proxy service.
Major improvements to cli/docs/claude-code-web.md: - Add Quick Start section for experienced users with complete setup script - Reorganize into logical flow: Install → Configure → Verify → Develop - Move proxy configuration earlier (before any Stack commands) - Remove STACK_ROOT=~/.stack references (not needed with proper config) - Add comprehensive Troubleshooting section - Improve formatting and clarity throughout - Consolidate Development Workflow section - Add concrete examples for running the CLI The new structure makes it much easier to follow and reduces setup errors.
Complete rewrite focused on actionable commands and quick reference: - Lead with copy-paste setup commands (no fluff) - Clear sections: First Time Setup, Every Session, Common Commands - Explicit "Errors You Can Ignore" vs "Real Errors" sections - Quick checks for debugging - Build time expectations - Pro tips for efficient workflow - Removed verbose explanations - Added inline comments in code blocks This is now a practical reference card rather than tutorial documentation.
Owner
Author
|
apply ormolu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack doesn't configure the proxy properly.