[xmonad] Xmonad trashed?

Don Stewart dons at galois.com
Sun Jul 26 20:29:24 EDT 2009

> I'm on arch linux, 64 bit.  I recently auto-upgraded a bunch of packages, and now even the simplest xmonad.hs file fails to compile.
> Given this xmonad.hs :
> import XMonad
> main = xmonad defaultConfig
>         { modMask = mod4Mask
>         , terminal = "lxterminal"
>         -- more changes
>         }
> I get the error:
> xmonad.hs:1:7:
>       Could not find module Xmonad
>       it is not a module in the current program or in any known package.
> Apparently  the XMonad module is not in the current ghc path or something.  It's been a while since I've used ghc so I'm not sure how to fix this.

This is an Arch Linux issue. GHC has been updated to 6.10.4, but not all
the packages that are built against 6.10.3 APIs.

Don't update yet (or update the dependencies yourself via cabal-install).

More information about the xmonad mailing list