Skip to content

stack init --solver should install and use its own GHC #1149

Closed
@wereHamster

Description

@wereHamster

I thought one of the reasons for stack is that it can be used to manage GHC. However, when I try to init a project with --solver (can't use stackage because of version incompatibilities), I get this:

$ stack init --solver
Executable named ghc not found on path: $PATH...

I was expecting stack to automatically use the latest stable GHC automatically (currently 7.10.x). Cabal does find a valid build plan when using GH 7.10.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions