[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/28: gnu: Add ghc-8.6.
From: |
guix-commits |
Subject: |
02/28: gnu: Add ghc-8.6. |
Date: |
Wed, 7 Aug 2019 23:28:30 -0400 (EDT) |
samplet pushed a commit to branch master
in repository guix.
commit cce84c34cd40610f49d7acc58eeea541edf45578
Author: Robert Vollmert <address@hidden>
Date: Tue Jul 16 08:45:40 2019 +0200
gnu: Add ghc-8.6.
* gnu/packages/haskell.scm (ghc-8.6): New variable.
Co-authored-by: Timothy Sample <address@hidden>
---
gnu/packages/haskell.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 019f751..4f283f7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -73,6 +73,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix utils)
+ #:use-module (ice-9 match)
#:use-module (ice-9 regex)
#:use-module ((srfi srfi-1) #:select (alist-delete)))
@@ -572,6 +573,51 @@ 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
+ `(;; 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"))))
+ ,@(filter (match-lambda
+ (("ghc-bootstrap" . _) #f)
+ (("ghc-testsuite" . _) #f)
+ (_ #t))
+ (package-native-inputs ghc-8.4))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments ghc-8.4)
+ ((#:make-flags make-flags ''())
+ `(cons "EXTRA_RUNTEST_OPTS=--skip-perf-tests"
+ ,make-flags))
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ ;; These two tests refer to the root user, which doesn't exist
+ ;; (see <https://bugs.gnu.org/36692>).
+ (add-after 'unpack-testsuite 'skip-tests
+ (lambda _
+ (substitute* "libraries/unix/tests/all.T"
+ (("^test\\('T8108'") "# guix skipped: test('T8108'"))
+ (substitute* "libraries/unix/tests/libposix/all.T"
+ (("^test\\('posix010'") "# guix skipped: test('posix010'"))
+ #t))))))))
+
(define-public ghc-8 ghc-8.4)
(define-public ghc ghc-8)
- branch master updated (ba7ff98 -> caa366e), guix-commits, 2019/08/07
- 01/28: gnu: ghc-8: Rename to 'ghc-8.4'., guix-commits, 2019/08/07
- 05/28: gnu: ghc-validation: Do not generate 'Setup.hs'., guix-commits, 2019/08/07
- 07/28: gnu: ghc-validation: Downgrade to 1., guix-commits, 2019/08/07
- 02/28: gnu: Add ghc-8.6.,
guix-commits <=
- 03/28: import: hackage: Update list of ghc-included packages., guix-commits, 2019/08/07
- 06/28: gnu: ghc-concurrent-output: Downgrade to 1.10.9., guix-commits, 2019/08/07
- 10/28: gnu: Add ghc-language-glsl., guix-commits, 2019/08/07
- 12/28: gnu: Add ghc-readable., guix-commits, 2019/08/07
- 15/28: gnu: Add ghc-io-streams., guix-commits, 2019/08/07
- 22/28: gnu: Add ghc-snap-server., guix-commits, 2019/08/07
- 08/28: gnu: ghc-ansi-terminal: Downgrade to 0.8.0.4., guix-commits, 2019/08/07
- 09/28: gnu: Add ghc-prettyclass., guix-commits, 2019/08/07
- 11/28: gnu: Add ghc-concurrent-extra., guix-commits, 2019/08/07
- 17/28: gnu: Add ghc-hsopenssl., guix-commits, 2019/08/07