From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39401) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnPhR-0007Xx-Cv for guix-patches@gnu.org; Tue, 16 Jul 2019 11:49:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnPhQ-0000tP-6j for guix-patches@gnu.org; Tue, 16 Jul 2019 11:49:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnPhQ-0000sz-2j for guix-patches@gnu.org; Tue, 16 Jul 2019 11:49:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnPhO-0004Pr-Ur for guix-patches@gnu.org; Tue, 16 Jul 2019 11:49:02 -0400 Subject: [bug#36692] [PATCH 2/2] gnu: Add GHC 8.6.5 Resent-Message-ID: From: Robert Vollmert Date: Tue, 16 Jul 2019 17:48:41 +0200 Message-Id: <20190716154841.22666-2-rob@vllmrt.net> In-Reply-To: <20190716154841.22666-1-rob@vllmrt.net> References: <20190716154841.22666-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36692@debbugs.gnu.org Cc: Robert Vollmert This is exactly like GHC 8.4, except for the sources, and depending on ghc-8.4 as ghc-bootstrap, since GHC 8.6 expects at least version 8.2. * gnu/packages/haskell.scm (ghc-8.6): New field. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 09618738b6..a8657f0b97 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -572,6 +572,33 @@ interactive environment for the functional language Haskell.") (file-pattern ".*\\.conf\\.d$") (file-type 'directory)))))) +(define-public ghc-8.6 + (package (inherit ghc-8.4) + (name "ghc") + (version "8.6.5") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.haskell.org/ghc/dist/" + version "/" name "-" version "-src.tar.xz")) + (sha256 + (base32 "0qg3zsmbk4rkwkc3jpas3zs74qaxmw4sp4v1mhsbj0a0dzls2jjd")))) + (native-inputs + `(("perl" ,perl) + ("python" ,python) ; for tests + ("ghostscript" ,ghostscript) ; for tests + ;; GHC 8.6.5 must be built with GHC >= 8.2. + ("ghc-bootstrap" ,ghc-8.4) + ("ghc-testsuite" + ,(origin + (method url-fetch) + (uri (string-append + "https://www.haskell.org/ghc/dist/" + version "/" name "-" version "-testsuite.tar.xz")) + (sha256 + (base32 + "0pw9r91g2np3i806g2f4f8z4jfdd7mx226cmdizk4swa7av1qf91")))))))) + (define-public ghc ghc-8.4) (define-public ghc-hostname -- 2.20.1 (Apple Git-117)