Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal dependency issue, #5

Open
julian1 opened this issue Mar 18, 2018 · 2 comments
Open

cabal dependency issue, #5

julian1 opened this issue Mar 18, 2018 · 2 comments

Comments

@julian1
Copy link

julian1 commented Mar 18, 2018

@marcusbuffett Any ideas? The package says it requires base >=4.6, which it has...

$ cabal install clanki
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: clanki-1.2.7 (user goal)
next goal: base (dependency of clanki-1.2.7)
rejecting: base-4.9.0.0/installed-4.9... (conflict: clanki => base<=4.9.0)
rejecting: base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0,
base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0,
base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0,
base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1,
base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1
(constraint from non-upgradeable package requires installed instance)
Dependency tree exhaustively searched.

$ cabal info base | head
* base             (library)
    Synopsis:      Basic libraries
    Versions available: 3.0.3.1, 3.0.3.2, 4.7.0.2, 4.8.0.0, 4.8.1.0, 4.8.2.0,
                        4.9.0.0, 4.9.1.0, 4.10.0.0 (and 15 others)
    Versions installed: 4.9.0.0
    Homepage:      [ Not specified ]
    Bug reports:   http://ghc.haskell.org/trac/ghc/newticket?component=libraries/base
    Description:   This package contains the "Prelude" and its support
                   libraries, and a large collection of useful libraries ranging
                   from data structures to parsing combinators and debugging

@julian1
Copy link
Author

julian1 commented Mar 18, 2018

It builds successfully using cabal manually,

# install reported missing deps manually
cabal install strict
cabal install safe

cabal configure
cabal build

$ ./dist/build/clanki/clanki
A) Quiz
B) Add
C) Remove
D) Show
E) Quit

@jcrben
Copy link

jcrben commented Jun 3, 2018

I also built this with cabal (grabbed haskell-platform package from homebrew, altho it was finicky https://github.com/haskell/haskell-platform/issues) - may try to package Clanki for nix or homebrew at some point

Note: seems like this could use an import feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants