xsession.windowManager.xmonad.haskellPackages
Home-Manager option
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.
type: unspecified valueDefault
pkgs.haskellPackages
Example
declared in: <home-manager/modules/services/window-managers/xmonad.nix>source unavailablepkgs.haskell.packages.ghc784