Skip to content
This repository was archived by the owner on Apr 25, 2020. It is now read-only.
This repository was archived by the owner on Apr 25, 2020. It is now read-only.

Failing to build ghc-mod with stack #940

@venantius

Description

@venantius

Forgive me if this issue turns out to be totally asanine; I'm new to this.

I created a new stack project, set the resolver to ghc 8.0.2, and tried to stack build ghc-mod. No luck - it failed to find a bunch of dependencies, and recommended I add them to extra-deps. I did so, tried again, and it told me to add more. And more. And more.

So then I end up with this:

stack.yaml

flags: {}
packages:
- .
extra-deps:
- cabal-helper-0.7.3.0
- djinn-ghc-0.0.2.3
- extra-1.5.3
- fclabels-2.0.3.3
- ghc-paths-0.1.0.9
- ghc-syb-utils-0.2.3.3
- hlint-2.0.15
- base-4.7.0.2
- StateVar-1.1.1.1
- deepseq-1.3.0.2
- vector-algorithms-0.7.0.4
- monad-control-1.0.2.3
- monad-journal-0.7.2
- mtl-2.2.2
- old-time-1.1.0.3
- optparse-applicative-0.13.2.0
- pipes-4.3.9
- safe-0.3.17
- semigroups-0.18.5
- split-0.2.3.3
- syb-0.7
- temporary-1.2.1.1
- text-1.2.3.0
- transformers-base-0.4.5.2
- aeson-1.4.0.0
- ansi-terminal-0.8.0.4
- ansi-wl-pprint-0.6.8.2
- async-2.2.1
- base-orphans-0.8
- clock-0.7.2
- cmdargs-0.10.20
- cpphs-1.20.8
- data-default-0.7.1.1
- djinn-lib-0.0.1.3
- either-4.4.1.1
- exceptions-0.10.0
- haskell-src-exts-util-0.2.3
- hscolour-1.24.4
- mmorph-1.1.2
- old-locale-1.0.0.7
- refact-0.3.0.2
- stm-2.4.5.0
- transformers-compat-0.6.2
- uniplate-1.6.12
- unordered-containers-0.2.9.0
- utf8-string-1.0.1.1
- vector-0.12.0.1
- void-0.7.2
- yaml-0.10.0
- cabal-doctest-1.0.6
- comonad-5.0.4
- contravariant-1.5
- distributive-0.6
- haskell-src-exts-1.20.2
- integer-logarithms-1.0.2.1
- mono-traversable-1.0.9.0
- prelude-extras-0.4.0.3
- random-1.1
- time-1.4.2
- unliftio-core-0.1.1.0
- MonadRandom-0.5.1.1
- attoparsec-0.13.2.2
- base-compat-0.10.4
- bifunctors-5.5.3
- colour-2.3.4
- conduit-1.3.0.3
- data-default-class-0.1.2.0
- data-default-instances-containers-0.0.1
- data-default-instances-dlist-0.0.1
- data-default-instances-old-locale-0.0.1
- dlist-0.8.0.4
- free-4.12.4
- hashable-1.2.7.0
- polyparse-1.12
- primitive-0.6.4.0
- profunctors-5.3
- resourcet-1.2.1
- scientific-0.3.6.2
- semigroupoids-5.3.1
- tagged-0.8.6
- th-abstraction-0.2.8.0
- time-locale-compat-0.1.1.4
- uuid-types-1.0.3
resolver: ghc-8.0.2

I tried again and at this point there was a conflict around which version of base it wanted, and told me to try setting allow-newer: true. I did, and this allowed about half the project to build before failing.

I feel like I have to be missing something obvious here - what am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions