[xmonad] Could not load modules after recent update

Platon Pronko platon7pronko at gmail.com
Sun Oct 20 18:03:03 UTC 2024


On 2024-10-20 19:46, Eyal Erez wrote:
> Hi,
> 
> I use xmonad on arch linux. I've recently updated my system, as one
> often does, and now my xmonad.hs is failing to compile and I am failing to
> start xmonad.
> 

Might not be very helpful, but I'm also on Arch and I moved from using system-provided Haskell packages for my xmonad needs.

System-provided packages are upgraded almost on every update, and xmonad has to be recompiled every time, and if you forget to recompile it then after a reboot your DE won't work and you have to drop to a tty to fix that.

Also, there is a truckload of haskell packages and they clutter up the update logs - removing them freshened up things considerably.

So I can't help you with this particular problem, but I can help you transition to stack-based install, which has the nice benefit of not breaking on system updates.
(however, it has the downside of taking 13GB of space in the ~/.stack/ folder, YMMV)

-- 
Best regards,
Platon Pronko
PGP 2A62D77A7A2CB94E


More information about the xmonad mailing list