I guess I got fooled by https://xmonad.org/INSTALL.html > If you want to use xmonad or xmonad-contrib from git, you will need a cabal.project file. If you want to use both from Hackage, you should skip this step. > Create a file named cabal.project containing: > "`" > packages: _/_.cabal > "`"