xmonad-contrib: patch to fix build with GHC 7.8.2

This commit is contained in:
Peter Simons 2014-05-01 22:18:14 +02:00
parent 74a9767c5e
commit a77e380454

View File

@ -9,6 +9,9 @@ cabal.mkDerivation (self: {
buildDepends = [
extensibleExceptions mtl random utf8String X11 X11Xft xmonad
];
patchPhase = self.stdenv.lib.optional (self.stdenv.lib.versionOlder "7.8" self.ghc.version) ''
sed -i -e 's|ForeignFunctionInterface|AllowAmbiguousTypes, ForeignFunctionInterface|' xmonad-contrib.cabal
'';
meta = {
homepage = "http://xmonad.org/";
description = "Third party extensions for xmonad";