[xmonad] Did the latest patch break the build?

Daniel Wagner wagnerdm at seas.upenn.edu
Tue May 28 17:47:12 CEST 2013


On 2013-05-28 11:34, Carsten Mattner wrote:
> On Tue, May 28, 2013 at 5:09 PM, Daniel Wagner 
> <daniel at wagner-home.com> wrote:
>> On 2013-05-28 10:43, Carsten Mattner wrote:
>>> 
>>> Did the latest patch break the build for anyone else?
>>> 
>>> Building xmonad-contrib-0.11...
>>> ...
>>> XMonad/Util/CustomKeys.hs:66:29: Not in scope: `def'
>> 
>> 
>> It works for me with a fresh pull of xmonad and XMonadContrib.
>> You'll need the latest xmonad from darcs, though.
> 
> I did delete ~/.ghc and ~/.cabal before rebuilding xmonad and
> XmonadContrib. Shouldn't XmonadContrib find and use the xmonad
> version just built from darcs HEAD? Do you know how it could
> believe there's no xmonad and it has to fetch+build from hackage?

It should, yes. If it doesn't, that's between you and your ghc-pkg, I 
guess. Maybe you built but did not register, or registered but in the 
wrong (local/global) database or something like that?

> Assuming this warning is new do we want to or have to keep it?
> XMonad/Core.hs:195:13: Warning:
>     This binding for `def' shadows the existing binding
>       imported from `Data.Default' at XMonad/Core.hs:40:1-19
>       (and originally defined in `data-default-class-0.0.1:
> Data.Default.Class')

Hm, looks like that warning slipped by me. I'll take a look a bit later 
today if somebody doesn't beat me to it. Probably isn't hard to fix, and 
I agree clean builds matter.

~d



More information about the xmonad mailing list