mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
c3e966b0cb
svn path=/nixpkgs/trunk/; revision=18204
18 lines
445 B
Nix
18 lines
445 B
Nix
{cabal, X11, mtl, xmessage}:
|
|
|
|
cabal.mkDerivation (self : {
|
|
pname = "xmonad";
|
|
name = "${self.fname}";
|
|
version = "0.9";
|
|
sha256 = "51670f83de211a8ea24ce2724c71ac5c3e4782f25422319d8b5e43f3ae7bf9e8";
|
|
propagatedBuildInputs = [X11 mtl];
|
|
meta = {
|
|
description = "xmonad is a tiling window manager for X";
|
|
};
|
|
|
|
preConfigure = ''
|
|
substituteInPlace XMonad/Core.hs --replace \
|
|
'"xmessage"' '"${xmessage}/bin/xmessage"'
|
|
'';
|
|
})
|