[Haskell-cafe] cabal-install sandbox with happy and alex
abdulwahidc at gmail.com
Thu Oct 31 15:59:16 UTC 2013
I've run into difficulty building happy and alex using the sandbox feature
of cabal-install 220.127.116.11.
Installation of dependencies succeeds but both happy and alex fail with:
setup: The program happy is required but it could not be found
My workaround is to use the --only-dependencies flag, install the
dependencies, and manually install the packages.
This is on Mac OS X 10.8.4 with GHC 7.6.3.
I've copied the steps demonstrating the problem on lpaste:
Summary to reproduce: cabal sandbox init; cabal install happy alex
Below is the script for my workaround.
[0 :)] badi at olorin /tmp/sb
~> cat sandbox-install.sh
cabal sandbox init
cabal install --only-dependencies $packages
for p in $packages; do
cabal unpack $p
cabal sandbox --sandbox ../.cabal-sandbox init
runhaskell Setup.lhs install
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe