Skip to content

GHCJS resolver doesn't work #982

Closed
Closed
@novaluke

Description

@novaluke

Following the information here results in:

$ stack --version
Version 0.1.4.1 (UNKNOWN commits) X86_64
$ ghcjs --version
The Glorious Glasgow Haskell Compilation System for JavaScript, version 0.1.0 (GHC 7.10.2)
$ stack build --resolver ghcjs-0.1.0_ghc-7.10.2
No compiler found, expected minor version match with ghcjs-0.1.0_ghc-7.10.2 (x86_64) (based on resolver setting in /path/to/project/stack.yaml). Try running stack setup to locally install the correct GHC

On the other hand, using an invalid resolver value provides this message:

option --resolver: Invalid resolver value: foo. Possible valid values include lts-2.12, nightly-YYYY-MM-DD, ghc-7.10.2, and ghcjs-0.1.0-ghc-7.10.2.

So I tried to use the value given by the error message, but apparently using that resolver value does not work either:

$ stack build --resolver ghcjs-0.1.0-ghc-7.10.2
option --resolver: Invalid resolver value: ghcjs-0.1.0-ghc-7.10.2. Possible valid values include lts-2.12, nightly-YYYY-MM-DD, ghc-7.10.2, and ghcjs-0.1.0-ghc-7.10.2. See https://www.stackage.org/snapshots for a complete list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions