GNU bug report logs -
#58000
[PATCH] gnu: Add ghc-9.0.
Previous Next
Reported by: itd <itd <at> net.in.tum.de>
Date: Thu, 22 Sep 2022 06:29:01 UTC
Severity: normal
Tags: patch
Done: Efraim Flashner <efraim <at> flashner.co.il>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58000 in the body.
You can then email your comments to 58000 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58000
; Package
guix-patches
.
(Thu, 22 Sep 2022 06:29:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
itd <itd <at> net.in.tum.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 22 Sep 2022 06:29:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/haskell.scm (ghc-9.0): New variable.
---
Hi,
this patch introduces GHC 9.0.2. (More recent than the latest GHC in Guix and
prerequisite to build newer GHC releases, to my understanding.)
Please consider applying it. Thanks!
Regards
itd
gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index effc6eeb1b..0afa4d1ce9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1011,6 +1011,41 @@ (define-public ghc-8.10
(define-public ghc-8 ghc-8.10)
+(define-public ghc-9.0
+ (package
+ (inherit ghc-8.10)
+ (name "ghc-next")
+ (version "9.0.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://www.haskell.org/ghc/dist/" version
+ "/ghc-" version "-src.tar.xz"))
+ (sha256
+ (base32
+ "15wii8can2r3dcl6jjmd50h2jvn7rlmn05zb74d2scj6cfwl43hl"))))
+ (native-inputs `(("ghc-bootstrap" ,ghc-8.10)
+ ("ghc-testsuite"
+ ,(origin
+ (method url-fetch)
+ (uri (string-append
+ "https://www.haskell.org/ghc/dist/"
+ version "/ghc-" version "-testsuite.tar.xz"))
+ (sha256
+ (base32
+ "1m5fzhr4gjn9ni8gxx7ag3fkbw1rspjzgv39mnfb0nkm5mw70v3s"))))
+ ("git" ,git-minimal/fixed) ;invoked during tests
+ ,@(filter (match-lambda
+ (("ghc-bootstrap" . _) #f)
+ (("ghc-testsuite" . _) #f)
+ (_ #t))
+ (package-native-inputs ghc-8.10))))
+ (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 ghc-8)
;;; haskell.scm ends here
base-commit: 04cad8e29ed85be838921c7fa05f7c5bce94b6d1
--
2.37.3
Reply sent
to
Efraim Flashner <efraim <at> flashner.co.il>
:
You have taken responsibility.
(Sun, 02 Oct 2022 18:14:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
itd <itd <at> net.in.tum.de>
:
bug acknowledged by developer.
(Sun, 02 Oct 2022 18:14:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 58000-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Sep 22, 2022 at 08:21:58AM +0200, itd wrote:
> * gnu/packages/haskell.scm (ghc-9.0): New variable.
> ---
> Hi,
>
> this patch introduces GHC 9.0.2. (More recent than the latest GHC in Guix and
> prerequisite to build newer GHC releases, to my understanding.)
> Please consider applying it. Thanks!
>
> Regards
> itd
I added a comment that ghc-9.0.2 needs >= 8.8 to build and I removed the
extra git input (it was also inherited from 8.10). You might be
interested to know that when staging is eventually merged we've shorted
the bootstrap path slightly by trying to skip a few versions while
building out, so 9.2.x will hopefully also be buildable with 8.10.
Thanks! Patch pushed.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 31 Oct 2022 11:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.