Closed issue by non-Jedi on void-packages repository https://github.com/void-linux/void-packages/issues/6414 Description: ### System * xuname: Void 4.19.12_1 x86_64 GenuineIntel uptodate rrrmFFFFFF * package: xmonad-0.15_1, xmonad-contrib-0.15_1 ### Expected behavior When below is in `~/.xmonad/xmonad.hs`, `xmonad --recompile` should give no output and successfully compile (https://hackage.haskell.org/package/xmonad-contrib-0.15/docs/XMonad-Doc-Configuring.html). ```haskell import XMonad main = xmonad $ def { borderWidth = 2 , terminal = "urxvt" , normalBorderColor = "#cccccc" , focusedBorderColor = "#cd8b00" } ``` Additionally, the `xmonad-contrib` package should have more files in it than just the license. ### Actual behavior With haskell snippet above in `~/.xmonad/xmonad.hs`: ``` $ xmonad --recompile XMonad will use ghc to recompile, because "/home/adam/.xmonad/build" does not exist. Error detected while loading xmonad configuration file: /home/adam/.xmonad/xmonad.hs xmonad.hs:1:1: error: Could not find module ‘XMonad’ Use -v to see a list of the files searched for. | 1 | import XMonad | ^^^^^^^^^^^^^ Please check the file for errors. ``` And the files in xmonad-contrib are: ``` $ xbps-query -Rf xmonad-contrib /usr/share/licenses/xmonad-contrib/LICENSE ``` Any ideas @xaltsc? ### Steps to reproduce the behavior 1. Install xmonad. 2. Create `~/.xmonad/xmonad.hs` with config shown above. 3. `xmonad --recompile`