Hi!
Recently I tried to install tidal from sources in order to test unreleased features (looking at you, extract
).
Unfortunately I could not make it work. Apparently, the way haskell libraries are packaged on archlinux is rather involved (and way above my head). Here is a snippet from the official haskell-tidal
package:
runhaskell Setup configure -O \
--enable-shared \
--enable-executable-dynamic \
--disable-library-vanilla \
--prefix=/usr \
--docdir="/usr/share/doc/${pkgname}" \
--enable-tests \
--dynlibdir=/usr/lib \
--libsubdir=\$compiler/site-local/\$pkgid
So I've made a few modifications to the official haskell-tidal
arch package so it installs from git master instead of realease 1.6.1. It is here, if anyone is interested.
https://aur.archlinux.org/packages/haskell-tidal-git/
For further reference, here is the error I get when trying to install from source:
$ cabal install --lib
cabal: Could not resolve dependencies:
[__0] trying: tidal-1.6.2 (user goal)
[__1] trying: bifunctors-5.5.8/installed-G2ohmCwfIb36bk3sGXZFKJ (dependency of
tidal)
[__2] trying: template-haskell-2.16.0.0/installed-2.16.0.0 (dependency of
bifunctors)
[__3] trying: base-4.14.1.0/installed-4.14.1.0 (dependency of tidal)
[__4] next goal: tidal-parse (user goal)
[__4] rejecting: tidal-parse-0.0.1 (conflict: bifunctors =>
template-haskell==2.16.0.0/installed-2.16.0.0, tidal-parse =>
template-haskell>=2.10.0.0 && <2.15)
[__4] fail (backjumping, conflict set: bifunctors, tidal-parse)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: tidal, base, bifunctors,
template-haskell, tidal-parse
Try running with --minimize-conflict-set to improve the error message.