summary refs log tree commit diff
path: root/pkgs/applications/window-managers/xmonad/default.nix
blob: 52cfe1e9798d3091291d9e2f778e3ef0b1360541 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{cabal, X11, mtl, xmessage}:

cabal.mkDerivation (self : {
  pname = "xmonad";
  name = "${self.fname}";
  version = "0.9.1";
  sha256 = "014201200e8a521ee3a0d8c0727392916a7549207b91064fb456f8c660609927";
  propagatedBuildInputs = [X11 mtl];
  meta = {
    description = "xmonad is a tiling window manager for X";
    homepage = http://xmonad.org/;
  };

  preConfigure = '' 
    substituteInPlace XMonad/Core.hs --replace \
      '"xmessage"' '"${xmessage}/bin/xmessage"'
  '';
})