[xmonad] Patch to the current darcs version

Spencer Janssen sjanssen at cse.unl.edu
Fri Dec 21 21:33:50 EST 2007


On Friday 21 December 2007 12:30:13 Rafael Almeida wrote:
> I'm using the current darcs version, but the following line seems
> wrong. With the change I made I can have the XMonad directory with
> extensions to xmonad right there on .xmonad. Before, there was just a
> -i parameter followed by another parameter. That seems wrong to me.
> Now ghc is called with -i. and everything seems to work fine. I hope
> I'm not missing something obvious here.
>
> diff -rN -u old-xmonad/XMonad/Core.hs new-xmonad/XMonad/Core.hs
> --- old-xmonad/XMonad/Core.hs   2007-12-21 16:29:27.000000000 -0200
> +++ new-xmonad/XMonad/Core.hs   2007-12-21 16:29:27.000000000 -0200
> @@ -360,7 +360,7 @@
>      binT <- getModTime bin
>      when (force || srcT > binT) $ do
>          status <- bracket (openFile err WriteMode) hClose $ \h -> do
> -            waitForProcess =<< runProcess "ghc" ["--make",
> "xmonad.hs", "-i", "-no-recomp", "-v0", "-o",binn] (Just dir)
> +            waitForProcess =<< runProcess "ghc" ["--make",
> "xmonad.hs", "-i.", "-no-recomp", "-v0", "-o",binn] (Just dir)
>                                      Nothing Nothing Nothing (Just h)
>
>          -- now, if it fails, run xmessage to let the user know:

This is intentional, case insensitive filesystems become confused with the
file "xmonad.hs" and the module XMonad.  Additionally, we restrict the include
path because our recompilation checker only checks xmonad.hs.


Cheers,
Spencer Janssen



More information about the xmonad mailing list