nixpkgs/pkgs/applications/window-managers/xmonad/default.nix
Peter Simons 59fa8fc940 xmonad: patch source code to refer to xmessage(1) using its complete path
svn path=/nixpkgs/trunk/; revision=30488
2011-11-20 10:21:38 +00:00

27 lines
745 B
Nix

{ cabal, extensibleExceptions, mtl, utf8String, X11, xmessage }:
cabal.mkDerivation (self: {
pname = "xmonad";
version = "0.10";
sha256 = "19z5y36pybsm93x6hlj5hzyys9r4ag7hkdib5spsnryk2mv72xj6";
isLibrary = true;
isExecutable = true;
buildDepends = [ extensibleExceptions mtl utf8String X11 ];
noHaddock = true;
meta = {
homepage = "http://xmonad.org";
description = "A tiling window manager";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
preConfigure = ''
substituteInPlace XMonad/Core.hs --replace \
'"xmessage"' '"${xmessage}/bin/xmessage"'
'';
})