From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 03/43] gnu: xmonad: Patch to work on new Haskell Platform Date: Thu, 15 Oct 2015 14:20:57 +0200 Message-ID: <1444911697-15515-3-git-send-email-paul@denknerd.org> References: <1444911697-15515-1-git-send-email-paul@denknerd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhXw-0002Si-SN for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmhXs-0006hb-Lu for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:12 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:38474 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhXs-0006h2-GI for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:08 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id CD75563085 for ; Thu, 15 Oct 2015 14:22:05 +0200 (CEST) In-Reply-To: <1444911697-15515-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/wm.scm (xmonad): Fetch cabal patch to compile against GHC 7.10.2. --- gnu/packages/wm.scm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 9ca5b96..f2de576 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2,6 +2,7 @@ ;;; Copyright =C2=A9 2015 Eric Dvorsak ;;; Copyright =C2=A9 2015 Sini=C5=A1a Bi=C4=91in ;;; Copyright =C2=A9 2015 Eric Bavier +;;; Copyright =C2=A9 2015 Paul van der Walt ;;; ;;; This file is part of GNU Guix. ;;; @@ -165,10 +166,23 @@ developers.") `(("ghc-mtl" ,ghc-mtl) ("ghc-utf8-string" ,ghc-utf8-string) ("ghc-extensible-exceptions" ,ghc-extensible-exceptions) - ("ghc-x11" ,ghc-x11))) + ("ghc-x11" ,ghc-x11) + ("xmonad-cabal-patch" + ,(origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/xmonad-" version "= /revision/1.cabal")) + (sha256 + (base32 + "0gdzsn2mv45i67wzmcjxyljr2w9fccc19n0i0f69mwvwcgi9v10j")))))= ) (arguments `(#:phases (modify-phases %standard-phases + (add-before + 'configure 'update-cabal + (lambda* _ + (copy-file (assoc-ref %build-inputs "xmonad-cabal-patch") + "xmonad.cabal"))) (add-after 'install 'install-xsession (lambda _ --=20 2.6.1