Closed
Description
For context, see: https://www.reddit.com/r/haskell/comments/85abjj/why_does_stack_install_its_own_version_of_ghc_and/dvy3lsu/?context=3
Example usage:
stack setup ghc-8.4.1 --ghc-path /opt/ghc/8.4.1
Desired behavior: inspect the given --ghc-path
to ensure that a GHC with the correct version exists at this location. Whenever compiler: ghc-8.4.1
is required, use this particular ghc.
In contrast with system-ghc: true
, this allows the "system" in question to have multiple custom versions of ghc installed, and for stack to automatically select the correct one, without needing the assistance of nix, docker, or manual path mangling.
Something like this can currently be accomplished in a hacky way by manually making symlinks, but there should be a nicer interface for this workflow.
Metadata
Metadata
Assignees
Labels
No labels