GNU bug report logs - #49606
[PATCH] gnu: Add ghc-8.10.

Previous Next

Package: guix-patches;

Reported by: Xinglu Chen <public <at> yoctocell.xyz>

Date: Sat, 17 Jul 2021 15:35:01 UTC

Severity: normal

Tags: patch

Done: Lars-Dominik Braun <lars <at> 6xq.net>

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 49606 in the body.
You can then email your comments to 49606 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Sat, 17 Jul 2021 15:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Xinglu Chen <public <at> yoctocell.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 17 Jul 2021 15:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add ghc-8.10.
Date: Sat, 17 Jul 2021 17:34:40 +0200
* gnu/packages/haskell.scm (ghc-8.10): New variable.
---
Two tests are failing, I am not sure why, but I have already spent too much
time on this.

gnu/packages/haskell.scm | 52 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 09732fc594..4e31867bfd 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -657,6 +657,58 @@ interactive environment for the functional language Haskell.")
                                 (file-pattern ".*\\.conf\\.d$")
                                 (file-type 'directory))))))
 
+(define-public ghc-8.10
+  (package
+    (inherit ghc-8.8)
+    (name "ghc")
+    (version "8.10.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.haskell.org/ghc/dist/"
+                           version "/ghc-" version "-src.tar.xz"))
+       (sha256
+        (base32 "0vq7wch0wfvy2b5dbi308lq5225vf691n95m19c9igagdvql22gi"))))
+    (native-inputs
+     `(("ghc-bootstrap" ,ghc-8.8)
+       ("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
+             "0vcq774rfb6q8vsnh7p5clxp2qaz8ip6d2bm2ghbq53n8jl296d6"))))
+       ("git" ,git-minimal)                     ; invoked during tests
+       ,@(filter (match-lambda
+                   (("ghc-bootstrap" . _) #f)
+                   (("ghc-testsuite" . _) #f)
+                   (_ #t))
+                 (package-native-inputs ghc-8.8))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments ghc-8.8)
+       ((#:phases phases '%standard-phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'fix-cc-name
+             (lambda _
+               (substitute* "utils/hsc2hs/Common.hs"
+                 (("\"cc\"") "\"gcc\""))))
+           (add-after 'skip-more-tests 'skip-even-more-tests
+             (lambda _
+               ;; Not sure why these tests fail
+               (substitute* '("testsuite/tests/driver/T8602/T8602.T"
+                              "testsuite/tests/driver/T16521/all.T")
+                 (("^.*" all)
+                  (string-append "# guix skipped: " all)))))))))
+    (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)

base-commit: 9cb35c02164d929fcb8929e7f454df215df8cf25
-- 
2.32.0






Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Sat, 17 Jul 2021 19:26:01 GMT) Full text and rfc822 format available.

Message #8 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49606 <at> debbugs.gnu.org
Subject: Re: bug#49606: [PATCH] gnu: Add ghc-8.10.
Date: Sat, 17 Jul 2021 12:24:59 -0700
Hi!

Xinglu Chen <public <at> yoctocell.xyz> writes:

> * gnu/packages/haskell.scm (ghc-8.10): New variable.
> ---
> Two tests are failing, I am not sure why, but I have already spent too much
> time on this.
> [...]
> +           (add-after 'skip-more-tests 'skip-even-more-tests
> +             (lambda _
> +               ;; Not sure why these tests fail
> +               (substitute* '("testsuite/tests/driver/T8602/T8602.T"

This test looks like it's failing because it has a "#! /bin/sh" shebang
in 'T8602.script'.

> +                              "testsuite/tests/driver/T16521/all.T")

This test looks like it's the only one which uses '-include-cpp-deps',
and it looks like it's the only test which includes a file in the
libraries directory. Perhaps a search path issue?

Hope that helps,
Sarah




Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Fri, 23 Jul 2021 20:50:01 GMT) Full text and rfc822 format available.

Message #11 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Sarah Morgensen <iskarian <at> mgsn.dev>
Cc: 49606 <at> debbugs.gnu.org
Subject: Re: [bug#49606] [PATCH] gnu: Add ghc-8.10.
Date: Fri, 23 Jul 2021 22:48:50 +0200
[Message part 1 (text/plain, inline)]
On Sat, Jul 17 2021, Sarah Morgensen via Guix-patches via wrote:

> Hi!
>
> Xinglu Chen <public <at> yoctocell.xyz> writes:
>
>> * gnu/packages/haskell.scm (ghc-8.10): New variable.
>> ---
>> Two tests are failing, I am not sure why, but I have already spent too much
>> time on this.
>> [...]
>> +           (add-after 'skip-more-tests 'skip-even-more-tests
>> +             (lambda _
>> +               ;; Not sure why these tests fail
>> +               (substitute* '("testsuite/tests/driver/T8602/T8602.T"
>
> This test looks like it's failing because it has a "#! /bin/sh" shebang
> in 'T8602.script'.

Ah, good catch!

>> +                              "testsuite/tests/driver/T16521/all.T")
>
> This test looks like it's the only one which uses '-include-cpp-deps',
> and it looks like it's the only test which includes a file in the
> libraries directory. Perhaps a search path issue?

I am not familiar with CPP stuff, but I will see what I can do about it.

Thank you for the pointers!  I will try to find some time to work on
this during the weekend.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Fri, 30 Jul 2021 22:14:02 GMT) Full text and rfc822 format available.

Message #14 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: 49606 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>,
 John Kehayias <john.kehayias <at> protonmail.com>,
 Sarah Morgensen <iskarian <at> mgsn.dev>
Subject: [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Sat, 31 Jul 2021 00:12:44 +0200
* gnu/packages/haskell.scm (ghc-8.10): New variable.
---
Changes since v1:

* Fix /bin/sh path in one of the tests.

Unfortunately, I haven’t been able to fix the T16521 test; I tried
setting the C_INCLUDE_PATH variable to ‘libraries/process/include’, but
it’s still not able to find ’processFlags.h’.  Not sure if there is
anything else I could try.  Would it be OK to merge this despite the
failing test?

Also, this patch should go to the ‘wip-haskell’ branch; once/if it gets
merged it would be a good idea to update the Stackage LTS release and
update all the Haskell packages.

gnu/packages/haskell.scm | 59 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 09732fc594..089ea7ceb0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -20,6 +20,7 @@
 ;;; Copyright © 2019 Robert Vollmert <rob <at> vllmrt.net>
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac <at> gmail.com>
 ;;; Copyright © 2020 Marius Bakke <mbakke <at> fastmail.com>
+;;; Copyright © 2021 Xinglu Chen <public <at> yoctocell.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -657,6 +658,64 @@ interactive environment for the functional language Haskell.")
                                 (file-pattern ".*\\.conf\\.d$")
                                 (file-type 'directory))))))
 
+(define-public ghc-8.10
+  (package
+    (inherit ghc-8.8)
+    (name "ghc")
+    (version "8.10.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://www.haskell.org/ghc/dist/"
+                           version "/ghc-" version "-src.tar.xz"))
+       (sha256
+        (base32 "0vq7wch0wfvy2b5dbi308lq5225vf691n95m19c9igagdvql22gi"))))
+    (native-inputs
+     `(("ghc-bootstrap" ,ghc-8.8)
+       ("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
+             "0vcq774rfb6q8vsnh7p5clxp2qaz8ip6d2bm2ghbq53n8jl296d6"))))
+       ("git" ,git-minimal)                     ; invoked during tests
+       ,@(filter (match-lambda
+                   (("ghc-bootstrap" . _) #f)
+                   (("ghc-testsuite" . _) #f)
+                   (_ #t))
+                 (package-native-inputs ghc-8.8))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments ghc-8.8)
+       ((#:phases phases '%standard-phases)
+        `(modify-phases ,phases
+           (add-after 'unpack 'fix-cc-name
+             (lambda _
+               (substitute* "utils/hsc2hs/Common.hs"
+                 (("\"cc\"") "\"gcc\""))))
+           (add-after 'unpack-testsuite 'patch-more-shebangs
+             (lambda* (#:key inputs #:allow-other-keys)
+               (let ((bash (assoc-ref inputs "bash")))
+                 (substitute* '("testsuite/tests/driver/T8602/T8602.script")
+                   (("/bin/sh")
+                    (string-append bash "/bin/sh"))))))
+           (add-after 'skip-more-tests 'skip-even-more-tests
+             (lambda _
+               ;; FIXME: It is unable to find some C header files;
+               ;; setting C_INCLUDE_PATH doesn't help either.
+               (substitute* '("testsuite/tests/driver/T16521/all.T")
+                 (("^.*" all)
+                  (string-append "# guix skipped: " all)))))))))
+    (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)

base-commit: f2470e9a4bcd47d526e14721bbd2693fb979d306
-- 
2.32.0






Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Thu, 12 Aug 2021 10:19:02 GMT) Full text and rfc822 format available.

Message #17 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: 49606 <at> debbugs.gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>,
 John Kehayias <john.kehayias <at> protonmail.com>,
 Sarah Morgensen <iskarian <at> mgsn.dev>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Thu, 12 Aug 2021 12:18:06 +0200
[Message part 1 (text/plain, inline)]
On Sat, Jul 31 2021, Xinglu Chen wrote:

> * gnu/packages/haskell.scm (ghc-8.10): New variable.
> ---
> Changes since v1:
>
> * Fix /bin/sh path in one of the tests.
>
> Unfortunately, I haven’t been able to fix the T16521 test; I tried
> setting the C_INCLUDE_PATH variable to ‘libraries/process/include’, but
> it’s still not able to find ’processFlags.h’.  Not sure if there is
> anything else I could try.  Would it be OK to merge this despite the
> failing test?
>
> Also, this patch should go to the ‘wip-haskell’ branch; once/if it gets
> merged it would be a good idea to update the Stackage LTS release and
> update all the Haskell packages.

Any comments/thoughts on this, anyone?
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Mon, 13 Sep 2021 14:25:01 GMT) Full text and rfc822 format available.

Message #20 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49606 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>,
 John Kehayias <john.kehayias <at> protonmail.com>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Mon, 13 Sep 2021 16:24:37 +0200
[Message part 1 (text/plain, inline)]
Hi,

> Any comments/thoughts on this, anyone?
I looked at the patch and would like to propose minor modifications. In
particular I

- removed the 'fix-cc-name phase, which is inherited from ghc-8.8 anyway
- converted the failing test (which I can’t get to pass either) into
  an expected failure instead of nulling it out and
- renamed the package to ghc-next, which should avoid
  https://issues.guix.gnu.org/47335 – if we also rename GHC 8.8 in a
  different patch.

I think we can merge this patch to master, since it only adds a new GHC
version and has no further implications. Thoughts?

Cheers,
Lars

[ghc-8.10.patch (text/x-diff, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Mon, 13 Sep 2021 16:08:02 GMT) Full text and rfc822 format available.

Message #23 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 49606 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>,
 John Kehayias <john.kehayias <at> protonmail.com>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Mon, 13 Sep 2021 18:07:26 +0200
[Message part 1 (text/plain, inline)]
On Mon, Sep 13 2021, Lars-Dominik Braun wrote:

> Hi,
>
>> Any comments/thoughts on this, anyone?
> I looked at the patch and would like to propose minor modifications. In
> particular I
>
> - removed the 'fix-cc-name phase, which is inherited from ghc-8.8 anyway

Aye, the patch has bitrotted a bit.

> - converted the failing test (which I can’t get to pass either) into
>   an expected failure instead of nulling it out and

Either way works for me.  :-)

> - renamed the package to ghc-next, which should avoid
>   https://issues.guix.gnu.org/47335 – if we also rename GHC 8.8 in a
>   different patch.

AFAIK, ‘-next’ packages are usually unstable versions of the regular
version, e.g., ‘emacs-next’ and ‘guile-next’.  ‘ghc-8.10’ is a stable
release, so I am not sure if the ‘-next’ prefix is appropriate.

Also, I would imagine that other language ecosystems also have to
problem of the default compiler not being the latest version, e.g., the
‘rust’ package points to rust-1.45, but rust-1.52 is the latest
available version.

> I think we can merge this patch to master, since it only adds a new GHC
> version and has no further implications. Thoughts?

Originally, the plan was to apply this patch to the ‘wip-haskell’
branch, which contained a patch that results in rebuilding all Haskell
pacakges, and then update our Stackage LTS version (which hasn’t been
updated for ~2 years)[1].  But seeing as there isn’t much interest in a
Haskell update, applying to ‘master’ seems like a better idea.

[1]:
<https://yhetil.org/guix/e7BRZzcL_m4HQVFynEoJhiwl7-MNGGeVEXrXExHAjPuEl9KtiGsySm7YY5sQ4evmx_O3V1mhFq_p3PafWbCKy9t5_0gfR2I2IJCmV8JTryY=@protonmail.com/>

> diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
> index 3d10bdc946..ca0498e6d9 100644
> --- a/gnu/packages/haskell.scm
> +++ b/gnu/packages/haskell.scm
> @@ -21,6 +21,7 @@
>  ;;; Copyright © 2019 Jacob MacDonald <jaccarmac <at> gmail.com>
>  ;;; Copyright © 2020 Marius Bakke <mbakke <at> fastmail.com>
>  ;;; Copyright © 2021 Matthew James Kraai <kraai <at> ftbfs.org>
> +;;; Copyright © 2021 Xinglu Chen <public <at> yoctocell.xyz>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -663,6 +664,60 @@ interactive environment for the functional language Haskell.")
>                                  (file-pattern ".*\\.conf\\.d$")
>                                  (file-type 'directory))))))
>  
> +(define-public ghc-8.10
> +  (package
> +    (inherit ghc-8.8)
> +    (name "ghc-next")
> +    (version "8.10.7")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "https://www.haskell.org/ghc/dist/"
> +                           version "/ghc-" version "-src.tar.xz"))
> +       (sha256
> +        (base32 "179ws2q0dinl1a39wm9j37xzwm84zfz3c5543vz8v479khigdvp3"))))
> +    (native-inputs
> +     `(("ghc-bootstrap" ,ghc-8.8)
> +       ("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
> +             "1zl25gg6bpx5601k8h3cqnns1xfc0nqgwnh8jvn2s65ra3f2g1nz"))))
> +       ("git" ,git-minimal)                     ; invoked during tests
> +       ,@(filter (match-lambda
> +                   (("ghc-bootstrap" . _) #f)
> +                   (("ghc-testsuite" . _) #f)
> +                   (_ #t))
> +                 (package-native-inputs ghc-8.8))))
> +    (arguments
> +     (substitute-keyword-arguments (package-arguments ghc-8.8)
> +       ((#:phases phases '%standard-phases)
> +        `(modify-phases ,phases
> +           (add-after 'unpack-testsuite 'patch-more-shebangs
> +             (lambda* (#:key inputs #:allow-other-keys)
> +               (let ((bash (assoc-ref inputs "bash")))
> +                 (substitute* '("testsuite/tests/driver/T8602/T8602.script")
> +                   (("/bin/sh")
> +                    (string-append bash "/bin/sh"))))))
> +           ;; Mark failing tests as broken. Reason for failure is unknown.
> +           (add-after 'skip-more-tests 'skip-even-more-tests
> +             (lambda _
> +               (substitute* '("testsuite/tests/driver/T16521/all.T")
> +                 (("extra_files" all) (string-append "[" all))
> +                 (("\\]\\), " all)
> +                  (string-append all "expect_broken(0)], ")))))))))
> +    (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))))))
> +

The updated patch LGTM, and great that you updated it to 8.10.7!

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Mon, 13 Sep 2021 16:56:02 GMT) Full text and rfc822 format available.

Message #26 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49606 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>, Lars-Dominik Braun <lars <at> 6xq.net>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Mon, 13 Sep 2021 16:55:29 +0000
A patch to master would probably be more helpful to get people to try to build their favorite packages with 8.10 to find any issues. Although I guess we'd want to do that in wip-haskell for everything anyway.

And then yes, we'll need to do a Stackage update for whatever release is the latest that uses 8.10. Hopefully we can get a big chunk of that through guix refresh. 8.10 will have to come first.




Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Tue, 14 Sep 2021 13:03:01 GMT) Full text and rfc822 format available.

Message #29 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49606 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>,
 John Kehayias <john.kehayias <at> protonmail.com>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Tue, 14 Sep 2021 15:02:41 +0200
Hi,

> AFAIK, ‘-next’ packages are usually unstable versions of the regular
> version, e.g., ‘emacs-next’ and ‘guile-next’.  ‘ghc-8.10’ is a stable
> release, so I am not sure if the ‘-next’ prefix is appropriate.
that is true, but I don’t see any other way to make

	guix environment --pure --ad-hoc ghc ghc-aeson -- ghci
	> import Data.Aeson

do “the right thing” by default. We could also argue that from
Guix’s point of view GHC 8.8/8.10 is (right now) unstable, because our
entire set of Haskell packages is built with GHC 8.6 (and thus untested
with higher versions of base). We also have python-next <at> 3.9.2 on master
with (I think) exactly the same purpose. So, unless there’s any strong
objections I’ll be bold and rename GHC>8.6 to ghc-next, explaining
the situation in a comment.

> But seeing as there isn’t much interest in a
> Haskell update, applying to ‘master’ seems like a better idea.
I’m counting three people (John, you and me) interested in getting
Haskell back into shape, so let’s just do it :)

Cheers,
Lars





Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Tue, 14 Sep 2021 15:22:01 GMT) Full text and rfc822 format available.

Message #32 received at 49606 <at> debbugs.gnu.org (full text, mbox):

From: Xinglu Chen <public <at> yoctocell.xyz>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 49606 <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>,
 John Kehayias <john.kehayias <at> protonmail.com>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Tue, 14 Sep 2021 17:21:12 +0200
[Message part 1 (text/plain, inline)]
On Tue, Sep 14 2021, Lars-Dominik Braun wrote:

> Hi,
>
>> AFAIK, ‘-next’ packages are usually unstable versions of the regular
>> version, e.g., ‘emacs-next’ and ‘guile-next’.  ‘ghc-8.10’ is a stable
>> release, so I am not sure if the ‘-next’ prefix is appropriate.
> that is true, but I don’t see any other way to make
>
> 	guix environment --pure --ad-hoc ghc ghc-aeson -- ghci
> 	> import Data.Aeson
>
> do “the right thing” by default. We could also argue that from
> Guix’s point of view GHC 8.8/8.10 is (right now) unstable, because our
> entire set of Haskell packages is built with GHC 8.6 (and thus untested
> with higher versions of base). We also have python-next <at> 3.9.2 on master
> with (I think) exactly the same purpose. So, unless there’s any strong
> objections I’ll be bold and rename GHC>8.6 to ghc-next, explaining
> the situation in a comment.

Ah, from Guix’s perspective GHC>8.6 would be unstable I guess.  Feel
free to push!  :-)

>> But seeing as there isn’t much interest in a
>> Haskell update, applying to ‘master’ seems like a better idea.
> I’m counting three people (John, you and me) interested in getting
> Haskell back into shape, so let’s just do it :)

That would be great!  :-)
[signature.asc (application/pgp-signature, inline)]

Reply sent to Lars-Dominik Braun <lars <at> 6xq.net>:
You have taken responsibility. (Wed, 15 Sep 2021 07:47:02 GMT) Full text and rfc822 format available.

Notification sent to Xinglu Chen <public <at> yoctocell.xyz>:
bug acknowledged by developer. (Wed, 15 Sep 2021 07:47:02 GMT) Full text and rfc822 format available.

Message #37 received at 49606-done <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Xinglu Chen <public <at> yoctocell.xyz>
Cc: 49606-done <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>,
 John Kehayias <john.kehayias <at> protonmail.com>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Wed, 15 Sep 2021 09:46:02 +0200
Hi,

merged to master as 69f7a8f476da4cca5d146e3b232a9919693eb2eb.

Thank you very much,
Lars





Information forwarded to guix-patches <at> gnu.org:
bug#49606; Package guix-patches. (Wed, 15 Sep 2021 19:32:02 GMT) Full text and rfc822 format available.

Message #40 received at 49606-done <at> debbugs.gnu.org (full text, mbox):

From: John Kehayias <john.kehayias <at> protonmail.com>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 49606-done <at> debbugs.gnu.org, Ricardo Wurmus <rekado <at> elephly.net>,
 Sarah Morgensen <iskarian <at> mgsn.dev>, Xinglu Chen <public <at> yoctocell.xyz>
Subject: Re: [bug#49606] [PATCH wip-haskell v2] gnu: Add ghc-8.10.
Date: Wed, 15 Sep 2021 19:31:37 +0000
Great, thank you all for the work on ghc-8.10! Now to start the process of package updates on wip-haskell...




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 14 Oct 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.