nixpkgs/pkgs/applications/window-managers/xmonad/default.nix
Andres Löh 3e0ac9b040 Major Haskell packages overhaul.
Several changes, some highlights:

  * Structure of haskell-packages.nix updated. It's now easier to
    select different default versions of packages for different
    versions of GHC.

  * GHC 7.0.2 is now default.

  * Haskell Platform 2011.2.0.0 has been added and is now default.

  * Several packages have been updated
    (gtk2hs, gitit, xmonad, darcs, ...).

  * Some old packages have been removed.

svn path=/nixpkgs/trunk/; revision=26288
2011-03-12 17:28:15 +00:00

19 lines
499 B
Nix

{cabal, X11, mtl, xmessage, syb}:
cabal.mkDerivation (self : {
pname = "xmonad";
name = "${self.fname}";
version = "0.9.2";
sha256 = "07w5k3pqmybjn0zh2nr1glp69685xg2fhj3z9zxb37x5nzss7kdd";
noHaddock = true;
propagatedBuildInputs = [X11 mtl syb];
meta = {
description = "xmonad is a tiling window manager for X";
homepage = http://xmonad.org/;
};
preConfigure = ''
substituteInPlace XMonad/Core.hs --replace \
'"xmessage"' '"${xmessage}/bin/xmessage"'
'';
})