[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/43: gnu: Add ghc-8.8.
From: |
guix-commits |
Subject: |
01/43: gnu: Add ghc-8.8. |
Date: |
Wed, 12 Aug 2020 14:17:00 -0400 (EDT) |
rekado pushed a commit to branch wip-haskell
in repository guix.
commit 54c9b5bfd721fa6eff2138612a919539cfd18855
Author: Timothy Sample <samplet@ngyro.com>
AuthorDate: Sun May 3 00:31:03 2020 -0400
gnu: Add ghc-8.8.
* gnu/packages/haskell.scm (ghc-8.8): New variable.
---
gnu/packages/haskell.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 94671ee..78cb895 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2017 rsiddharth <s@ricketyspace.net>
;;; Copyright © 2017, 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Tonton <tonton@riseup.net>
-;;; Copyright © 2018, 2019 Timothy Sample <samplet@ngyro.com>
+;;; Copyright © 2018, 2019, 2020 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018, 2019 Gabriel Hondet <gabrielhondet@gmail.com>
;;; Copyright © 2019 Robert Vollmert <rob@vllmrt.net>
@@ -47,6 +47,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages perl)
#:use-module (gnu packages python)
+ #:use-module (gnu packages version-control)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -583,6 +584,53 @@ interactive environment for the functional language
Haskell.")
(file-pattern ".*\\.conf\\.d$")
(file-type 'directory))))))
+(define-public ghc-8.8
+ (package (inherit ghc-8.6)
+ (name "ghc")
+ (version "8.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.haskell.org/ghc/dist/"
+ version "/ghc-" version "-src.tar.xz"))
+ (sha256
+ (base32 "128g932i3wix6ic03v04nh5755vyjiidzri9iybwad72yfmc1p70"))))
+ (native-inputs
+ `(("ghc-bootstrap" ,ghc-8.6)
+ ("ghc-testsuite"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append
+ "https://www.haskell.org/ghc/dist/"
+ version "/ghc-" version "-testsuite.tar.xz"))
+ (patches (search-patches "ghc-testsuite-dlopen-pie.patch"))
+ (sha256
+ (base32
+ "1l32mp94ll72skfsq1g2fqax4bkiw8b85gr3wd0bbqsqyi9a9jpr"))))
+ ("git" ,git) ; invoked during tests
+ ,@(filter (match-lambda
+ (("ghc-bootstrap" . _) #f)
+ (("ghc-testsuite" . _) #f)
+ (_ #t))
+ (package-native-inputs ghc-8.6))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments ghc-8.6)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-after 'unpack-testsuite 'skip-more-tests
+ (lambda _
+ ;; XXX: This test fails because our ld-wrapper script
+ ;; mangles the response file passed to the linker.
+ (substitute* "testsuite/tests/hp2ps/all.T"
+ (("^test\\('T15904'") "# guix skipped: test('T15904'"))
+ #t))))))
+ (native-search-paths (list (search-path-specification
+ (variable "GHC_PACKAGE_PATH")
+ (files (list
+ (string-append "lib/ghc-" version)))
+ (file-pattern ".*\\.conf\\.d$")
+ (file-type 'directory))))))
+
(define-public ghc-8 ghc-8.6)
(define-public ghc ghc-8)
- branch wip-haskell created (now 7dfa051), guix-commits, 2020/08/12
- 01/43: gnu: Add ghc-8.8.,
guix-commits <=
- 02/43: build-system/haskell: Support parallel builds., guix-commits, 2020/08/12
- 03/43: build-system/haskell: Refactor configure step., guix-commits, 2020/08/12
- 04/43: build-system/haskell: Configure to link with shared libraries., guix-commits, 2020/08/12
- 09/43: build-system/haskell: Do not pass "--bindir" during configure., guix-commits, 2020/08/12
- 06/43: haskell-build-system: register: Respect lib output., guix-commits, 2020/08/12
- 07/43: haskell-build-system: register: Remove references to the doc output., guix-commits, 2020/08/12
- 08/43: build-system/haskell: Add 'extra-directories' keyword., guix-commits, 2020/08/12
- 10/43: gnu: Add "static" output to Haskell packages with custom outputs., guix-commits, 2020/08/12
- 12/43: gnu: ghc-hspec: Add "doc" output., guix-commits, 2020/08/12
- 18/43: gnu: ghc-base-compat: Add "doc" output., guix-commits, 2020/08/12