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.

Here is an example of an error:

xmonad.hs:3:1: error:
    Could not load module ‘XMonad.Actions.CycleWS’
    It is a member of the package ‘xmonad-contrib-0.18.1-Hn3tyQ1hgcfBs6gP5hIKJ’
    which is unusable due to missing dependencies:
      random-1.2.1.2-4MvNAJNQIvxGHtrKNblxG1
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
  |
3 | import XMonad.Actions.CycleWS
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The full log is here: https://pastebin.com/KkFQQSwU

It seems that xmonad-contrib is missing the "random" library. I've tried reinstalling xmonad, xmonad-contrib, haskell-random, and any other library I can think of. However, it does not seem to improve the situation. 

Is there anything I can do to debug this further?

Here are some of my installed package versions:
xmonad 0.18.0-20
xmonad-contrib 0.18.1-5
haskell-random 1.2.1.2-16

Thank you kindly

--
There are 10 types of people, those who know binary and those who don't.