From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 24/43] gnu: ghc-split: Update dependencies. Date: Thu, 15 Oct 2015 14:21:18 +0200 Message-ID: <1444911697-15515-24-git-send-email-paul@denknerd.org> References: <1444911697-15515-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYE-0002Uz-MX for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmhYD-0007B7-Q2 for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:30 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:48137 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmhYD-0007B1-E4 for guix-devel@gnu.org; Thu, 15 Oct 2015 08:22:29 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out03.mykolab.com (Postfix) with ESMTPS id A7833234F9 for ; Thu, 15 Oct 2015 14:22:27 +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/haskell.scm (ghc-split): Update package dependencies for compatibility with new GHC. --- gnu/packages/haskell.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 328d06e..e0fdf1f 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1418,8 +1418,27 @@ and high speed.") (base32 "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr")))) (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before + 'configure 'update-cabal + ;; the cabal file on hackage is updated, but the tar.gz does not + ;; include it. + (lambda* _ + (copy-file (assoc-ref %build-inputs "ghc-split-cabal-update") + "split.cabal")))))) (inputs - `(("ghc-quickcheck" ,ghc-quickcheck))) + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-split-cabal-update" + ,(origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/split-" + version "/revision/1.cabal")) + (sha256 + (base32 + "1i1h5v1zqvganhzy1wdd9r648yjpir078n0g8051njg82h2f964h")))))) (home-page "http://hackage.haskell.org/package/split") (synopsis "Combinator library for splitting lists") -- 2.6.1