Skip to content

Could not setup with ghci version 7.8.3 in Docker container #9

Open
@vinh0604

Description

@vinh0604

Hi, I'm running Haskell with a docker container built from darinmorrison/haskell image with ghci version 7.8.3.
When I tried to run .bin/setup-koans as cited in the Readme file, I got the following issue:

Resolving dependencies...
cabal: Could not resolve dependencies:
trying: HaskellKoans-0.1 (user goal)
trying: testloop-0.1.1.0 (dependency of HaskellKoans-0.1)
next goal: unix (dependency of testloop-0.1.1.0)
rejecting: unix-2.7.0.1/installed-0d8..., 2.7.0.1, 2.7.0.0 (conflict: testloop
=> unix>=2.2.0.0 && <2.7)
rejecting: unix-2.6.0.1, 2.6.0.0 (conflict: base==4.7.0.1/installed-e4b...,
unix => base>=4.2 && <4.7)
rejecting: unix-2.5.1.1, 2.5.1.0 (conflict: base==4.7.0.1/installed-e4b...,
unix => base>=4.2 && <4.6)
rejecting: unix-2.5.0.0 (conflict: base==4.7.0.1/installed-e4b..., unix =>
base>=4.2 && <4.5)
rejecting: unix-2.4.2.0, 2.4.1.0 (conflict: base==4.7.0.1/installed-e4b...,
unix => base>=4.2 && <4.4)
rejecting: unix-2.4.0.2, 2.4.0.1 (conflict: base==4.7.0.1/installed-e4b...,
unix => base>=4.2 && <4.3)
rejecting: unix-2.4.0.0 (conflict: base==4.7.0.1/installed-e4b..., unix =>
base>=4.1 && <4.3)
trying: unix-2.3.2.0
next goal: hint (dependency of testloop-0.1.1.0)
rejecting: hint-0.4.2.0, 0.4.1.0, 0.4.0.0 (conflict: testloop => hint==0.3.*)
trying: hint-0.3.3.7
next goal: ghc (dependency of hint-0.3.3.7)
rejecting: ghc-7.8.3/installed-4df... (conflict: unix==2.3.2.0, ghc =>
unix==2.7.0.1/installed-0d8...)
Dependency tree exhaustively searched.

Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
setup-koans: [ERROR]cabal install --only-dependencies failed.

Are I missing something that need to be setup first before setting up the koans?
Please help. Thank you in advance.

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