For what it's worth, the Arch Wiki warns about this (https://wiki.archlinux.org/title/Xmonad#Problems_with_finding_shared_libraries_after_update) and gives solutions. The way Arch manages its Haskell packages causes problems like this.

On Sun, Oct 20, 2024 at 2:03 PM Platon Pronko <platon7pronko@gmail.com> wrote:
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
_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad


--
brandon s allbery kf8nh
allbery.b@gmail.com