This expression can now be generated by cabal2nix. Note that it doesn't
propagate Emacs and haskell-mode, though, these dependencies must be
installed by the user in addition to ghc-mod.
To active ghc-mod, add the following snippet to your ~/.emacs file:
(autoload 'ghc-init "ghc" nil t)
(add-hook 'haskell-mode-hook (lambda () (ghc-init)))
svn path=/nixpkgs/trunk/; revision=33410
Instead, one of the available version is chosen in haskell-packages.nix, when
the expression is instantiated.
Also updated the meta section.
svn path=/nixpkgs/trunk/; revision=31856