As we keep inching towards cabal-install-3.4 release (the last known
external blocker) I want to raise awareness of the changes coming to
xmonad users with custom xmonad.hs files as part of this update. I've
known and mentioned this change a few times on ports@ but it bears
repeating explicitly.

Primary reason for this change is each binary Haskell port will be built
hermetically. The notion of hs-libraries ports will disappear. Hence
such custom xmonad configurations will have to rely on Custom Build
Scripts[0].  This reference is a part of MESSAGE which also points at
the installed example files that I've been using for many months. This
is the same approach that FreeBSD ports have taken.

To make it abundantly clear, the change is not without some downsides
for the user. Cabal has to be available (e.g. from the port). GHC too
(same as before). The first rebuild will be slower as cabal will be
warming up its build cache and potentially downloading hackage index and
some sources.  Usability will be somewhat lacking though if somebody
feels ambitious the sample script could be improved with xmessage/xterm
to provide better UX.

The main goal of my message is informational. I also would like to learn
about any other xmonad users with custom configs on OpenBSD.

[0]https://github.com/xmonad/xmonad-testing/

Thanks
Greg

Reply via email to