Package Details: haskell-stack-git 1.0.2.r2.gdca69c6-1

Git Clone URL: https://aur.archlinux.org/haskell-stack-git.git (read-only)
Package Base: haskell-stack-git
Description: The Haskell Tool Stack
Upstream URL: https://www.github.com/commercialhaskell/stack
Licenses: BSD3
Conflicts: stack
Provides: stack
Submitter: ksira
Maintainer: ksira (borsboom)
Last Packager: ksira
Votes: 2
Popularity: 0.000000
First Submitted: 2015-06-09 08:33
Last Updated: 2016-01-18 07:10

Dependencies (4)

Required by (10)

Sources (1)

Latest Comments

ksira commented on 2015-08-15 23:56

haskell-stack-git now builds just using stack, no more cabal-install builds, yay! If this is your first time trying to install the package, please be aware you'll need to bootstrap off haskell-stack (no git).

spinda commented on 2015-06-20 01:35

Temporary patch for the PKGBUILD, until a new Stackage nightly:

echo "Removing stack constraint in the stackage snapshot"
sed -i -e "/^\s*stack ==/d" cabal.config
+ echo "Removing path constraint in the stackage snapshot"
+ sed -i -e "/^\s*path ==/d" cabal.config
cabal update
cabal clean

ksira commented on 2015-06-19 01:02

@leshow, Yes I am aware of the issue. This is due to nightly not keeping up with stack and should resolve itself in a few days. The short term solution is to delete the line in the cabal.config, and build manually until Stackage catches up. The long term solution is to totally revise the PKGBUILD to use the stack binary to build the git version of stack, which gets us out of cabal hell permanently.

leshow commented on 2015-06-18 22:54

during makepkg -s:

Saving to: ‘cabal.config’

cabal.config [ <=> ] 41.31K --.-KB/s in 0.08s

2015-06-18 18:53:09 (500 KB/s) - ‘cabal.config’ saved [42306]

Removing stack constraint in the stackage snapshot
Downloading the latest package list from hackage.haskell.org
cleaning...
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: stack-0.0.3.1 (user goal)
next goal: path (dependency of stack-0.0.3.1)
rejecting: path-0.5.1 (global constraint requires ==0.5.0)
rejecting: path-0.5.0 (conflict: stack => path>=0.5.1)
rejecting: path-0.4.0, 0.3.0, 0.2.0, 0.1.0, 0.0.1, 0.0.0 (global constraint
requires ==0.5.0)
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.
==> ERROR: A failure occurred in prepare().
Aborting...

ksira commented on 2015-06-13 05:17

@wuzzeb: added cpphs to the cabal sandbox. In the future I hope to have this package built by the binary one, so no more worries about build dependencies.

ksira commented on 2015-06-09 23:01

Thanks for the feedback, I'll come up with a solution and update the build.

wuzzeb commented on 2015-06-09 19:11

cpphs is a build dependency that is not listed. There is a haskell-cpphs package on AUR but it is outdated (requires the old version of GHC) and I didn't install it. So what I did instead is just changed the prepare() function in the PKGBUILD to have "cabal install cpphs", then the build of stack automatically picks up cpphs from the sandbox.