How to run xmonad from development repository

I am trying to get back into fixing the border colormap stuff¹ that I got half way through last year². I am wondering - still being new to this - how to efficiently do development of xmonad. What I did previous was to rebuild Debian packages with my changes, installing them, and then "xmonad --recompile" and restarting xmonad. That is quite cumbersome, as Debian has dependencies between the X11 code, X11 xft and xmonad, so there is a lot of rebuilding just to realize that I made a(nother) mistake. How do you run xmonad from a cloned git repository and do a change-compile-run cycle efficiently? Is there a way to point "xmonad --recompile" at my local repository, or? Best regards, Adam ¹ https://github.com/asjo/xmonad/commit/e7d0e004d0a1acfd1ff149eaabf274fe2519c4... ² https://github.com/xmonad/X11/pull/35 -- "Close the door to it all Adam Sjøgren A crash and a fireball asjo@koldfront.dk If that feels good This is the end"

Ok, I found that simply uninstalling the Debian packages (maybe that wasn't even necessary), and then doing cabal configure && cabal build && cabal install in X11, xmonad, and xmonad-contrib repositories allows me to "xmonad --recompile" and use my modified code. Cool! Best regards, Adam -- "Accept failure gracefully." Adam Sjøgren asjo@koldfront.dk

As a side note, it is also possible to place modules in ~/.xmonad/lib/ and import them into ~/.xmonad/xmonad.hs. I've been doing this for prototype extensions not quite ready for inclusion in xmonad-contrib. ---- asjo@koldfront.dk wrote ----
Ok, I found that simply uninstalling the Debian packages (maybe that wasn't even necessary), and then doing cabal configure && cabal build && cabal install in X11, xmonad, and xmonad-contrib repositories allows me to "xmonad --recompile" and use my modified code.
Cool!
Best regards,
Adam
-- "Accept failure gracefully." Adam Sjøgren asjo@koldfront.dk
_______________________________________________ xmonad mailing list xmonad@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
participants (2)
-
asjo@koldfront.dk
-
Steffen Schuldenzucker