Source

builders / xmonad

#!/usr/bin/env python

import os.path
from build import *

cabal = join(INSTALL_DIR, 'bin/cabal')

if os.path.isfile(cabal):
   call([cabal, 'install', 'xmonad', 'xmonad-contrib', 'xmobar'], cwd='/')
else:
   print 'Run the Haskell builder to install the Haskell Platform.'