From 8cf7f46ea0abed6a84c2460aacf6c83552061bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Tue, 5 Jun 2012 08:09:06 +0000 Subject: [PATCH] Patching xmobar-0.15 to accept mtl-2.1. svn path=/nixpkgs/trunk/; revision=34354 --- pkgs/applications/misc/xmobar/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/misc/xmobar/default.nix b/pkgs/applications/misc/xmobar/default.nix index 3b46fcef8b4a..73eefef25055 100644 --- a/pkgs/applications/misc/xmobar/default.nix +++ b/pkgs/applications/misc/xmobar/default.nix @@ -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";