NixOS/nixpkgs — pull request #1366 by the-kenny (2013-12-12 22:41:15+00:00)
Title: windowManager.xmonad: Make it configurable and extensible.

The previous windowManager.xmonad option only starts xmonad and
doesn't make ghc available. This assumes that the user has GHC with
access to the xmonad package in his PATH when using xmonad.

My (or specific: @aristidb and my) changes make it possible to use
Xmonad without adding GHC to any profile. This is useful if you want
to add a different GHC to your profile.

This commit introduces some options:

- xmonad.haskellPackages: Controls which Haskell package set & GHC set
is used to (re)build Xmonad

- xmonad.extraPackages: Function returning a list of additional
packages to make available to GHC when rebuilding Xmonad

- xmonad.enableContribExtras: Boolean option to build xmonadContrib
and xmonadExtras.