Clanki
Clanki copied to clipboard
cabal dependency issue,
@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
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
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