
Phew, sorry that was such a mess. And good debugging -- you got
through some quite tricky stuff there and it looks like you mostly did
things right!
Quoting Michael Norrish
Building xmonad-contrib-0.9.1... [ 1 of 180] Compiling XMonad.Util.Replace ( XMonad/Util/Replace.hs, dist/build/XMonad/Util/Replace.o )
XMonad/Util/Replace.hs:1:0: Warning: Module `Prelude' is deprecated: You are using the old package `base' version 3.x. Future GHC versions will not support base version 3.x. You should update your code to use the new base version 4.x. [ 2 of 180] Compiling XMonad.Util.CustomKeys ( XMonad/Util/CustomKeys.hs, dist/build/XMonad/Util/CustomKeys.o )
XMonad/Util/CustomKeys.hs:80:23: Not in scope: data constructor `Reader' cabal: Error: some packages failed to install: gtk-traymanager-0.1.2 failed during the configure step. The exception was: ExitFailure 1 taffybar-0.1.3 depends on xmonad-contrib-0.9.1 which failed to install. xmonad-contrib-0.9.1 failed during the building phase. The exception was: ExitFailure 1
Okay, getting close... it looks like something strange is going on with your mtl. Can you post the output of "ghc-pkg list | grep mtl"? (Note that this is different than "ghc-pkg list mtl" -- there are a few different packages all with mtl in their name.) Also, please tell us how you installed xmonad -- did you build it yourself from one of the releases on the website, or did you install it from your package manager? (If the latter, you might consider installing xmonad-contrib from your package manager as well.) You might want to hop on #xmonad, too, for a more interactive debugging experience. ~d