[xmonad] Modular config

Spencer Janssen spencerjanssen at gmail.com
Wed Jul 23 20:46:23 EDT 2008

On Wed, Jul 23, 2008 at 04:12:08PM -0600, Justin Bogner wrote:
> recompile calls ghc --make, but supplies the -i argument, which 
> suppresses including the current directory in the search path. This means 
> that one can't break up xmonad.hs into modules in their own .xmonad 
> directory.
> I don't see any particularly good reason to prevent this, so here's a 
> patch that removes the -i argument. An equivalent change would be to 
> change "-i" to "-i.", which explicitly sets the search path, but the ghc 
> docs state that this is the default anyway, so I think that removing it 
> makes more sense.

This is not compatible with case-insensitive file systems, such as those on OS
X.  When the user writes 'import XMonad', GHC will attempt to use
~/.xmonad/xmonad.hs rather than the installed library module.

Spencer Janssen

More information about the xmonad mailing list