[xmonad] cabal sandbox

Carsten Mattner carstenmattner at gmail.com
Sat Feb 9 19:34:22 CET 2013


Trying to build and run XMonad from within a cabal sandbox
using the sandbox feature found in cabal HEAD doesn't manage
to build the xmonad binary from xmonad.hs. I belive it's
caused by the ghc calls in XMonad.Core.

Did anybody else try this?

This is how you can see for yourself:
* install cabal-install HEAD
git clone git://github.com/haskell/cabal.git
cd cabal/Cabal
ghc --make Setup
./Setup configure --user
./Setup build
./Setup install
cd ../cabal-install
./bootstrap.sh

* use cabal sandbox for xmonad and XMonadContrib
cabal sandbox-init
cabal sandbox-configure
cabal sandbox-OTHER_COMMANDS (add source, install, etc.)

The build output will be in .cabal-sandbox.



More information about the xmonad mailing list