Skip to content

stack init --resolver ghc-7.10.3 creates incomplete stack file #2475

@soenkehahn

Description

@soenkehahn

General summary/comments (optional)

When using stack init --resolver ghc-7.10.3 stack sometimes produces a valid stack file, except that there's one dependency missing: hex-0.1.2. Why is that? Am I doing something wrong?

Steps to reproduce

$ git clone https://github.com/haskell-servant/servant
$ cd servant
$ stack init --force --resolver ghc-7.10.3
$ stack test

This will fail, recommending to add hex-0.1.2 to the extra-deps. After doing that, stack test works.

Stack version

$ stack --version
Version 1.1.2 x86_64 hpack-0.14.0

Method of installation

stack upgrade

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions