The current version of stan uploaded to Hackage does not build with the command provided in the README.md file:
$ cabal update
$ cabal v2-install stan --install-method=copy --overwrite-policy=always
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: stan-0.0.1.0 (user goal)
[__1] next goal: pretty-simple (dependency of stan)
[__1] rejecting: pretty-simple-4.0.0.0 (conflict: stan => pretty-simple^>=3.2)
[__1] skipping: pretty-simple-3.3.0.0 (has the same characteristics that
caused the previous version to fail: excluded by constraint '^>=3.2' from
'stan')
[__1] trying: pretty-simple-3.2.3.0
[__2] trying: ansi-terminal-0.11 (dependency of pretty-simple)
[__3] next goal: colourista (dependency of stan)
[__3] rejecting: colourista-0.1.0.0 (conflict: ansi-terminal==0.11, colourista
=> ansi-terminal^>=0.10)
[__3] skipping: colourista-0.0.0.0 (has the same characteristics that caused
the previous version to fail: excludes 'ansi-terminal' version 0.11)
[__3] fail (backjumping, conflict set: ansi-terminal, colourista, stan)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: ansi-terminal, stan, pretty-simple,
colourista
Try running with --minimize-conflict-set to improve the error message.
It appears that the .cabal file has been updated in the GitHub repository to correctly build and install stan with the current Hackage package set. However, this very useful update has not been uploaded to Hackage as a new release, necessitating a git clone to build stan rather than the suggested cabal v2-install. The lack of such an upload to Hackage has prevented me from using stan as part of my continuous integration workflows.
The current version of
stan
uploaded to Hackage does not build with the command provided in theREADME.md
file:It appears that the
.cabal
file has been updated in the GitHub repository to correctly build and installstan
with the current Hackage package set. However, this very useful update has not been uploaded to Hackage as a new release, necessitating agit clone
to buildstan
rather than the suggestedcabal v2-install
. The lack of such an upload to Hackage has prevented me from usingstan
as part of my continuous integration workflows.