Patching xmobar-0.15 to accept mtl-2.1.

svn path=/nixpkgs/trunk/; revision=34354
This commit is contained in:
Andres Löh 2012-06-05 08:09:06 +00:00
parent 27bef25b17
commit 8cf7f46ea0

View File

@ -13,6 +13,9 @@ cabal.mkDerivation (self: {
];
extraLibraries = [ libXrandr wirelesstools ];
configureFlags = "-fwith_xft -fwith_iwlib";
patchPhase = ''
sed -i -e 's|mtl ==.*$|mtl,|' xmobar.cabal
'';
meta = {
homepage = "http://projects.haskell.org/xmobar/";
description = "A Minimalistic Text Based Status Bar";