From 9a6c3c8f60cd075b796de61b0856acf177245bc0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 17 Sep 2012 15:50:11 +0200 Subject: [PATCH] xmonad-extras: patch to allow building with split 0.2.x --- pkgs/applications/window-managers/xmonad/xmonad-extras.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/xmonad/xmonad-extras.nix b/pkgs/applications/window-managers/xmonad/xmonad-extras.nix index 42ffeae6f9c..eefc865b537 100644 --- a/pkgs/applications/window-managers/xmonad/xmonad-extras.nix +++ b/pkgs/applications/window-managers/xmonad/xmonad-extras.nix @@ -10,7 +10,10 @@ cabal.mkDerivation (self: { hint libmpd mtl network parsec random regexPosix split X11 xmonad xmonadContrib ]; - configureFlags = "-f-with_hlist"; + patchPhase = '' + sed -i xmonad-extras.cabal -e 's|split .*|split|' + ''; + configureFlags = "-f-with_hlist -fwith_split -fwith_parsec"; meta = { homepage = "http://projects.haskell.org/xmonad-extras"; description = "Third party extensions for xmonad with wacky dependencies";