The haskellPackages used to build xmonad and other packages. This can be used to change the GHC version used to build xmonad and the packages listed in extraPackages.
unspecified value
pkgs.haskellPackages
pkgs.haskell.packages.ghc784