GNU bug report logs - #71427
Request for merging "haskell-team" branch

Previous Next

Package: guix-patches;

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

Date: Sat, 8 Jun 2024 06:37:02 UTC

Severity: normal

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 71427 in the body.
You can then email your comments to 71427 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#71427; Package guix-patches. (Sat, 08 Jun 2024 06:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lars-Dominik Braun <lars <at> 6xq.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 08 Jun 2024 06:37:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: guix-patches <at> gnu.org
Subject: Request for merging "haskell-team" branch
Date: Sat, 8 Jun 2024 08:36:21 +0200
Hi,

I would like to merge the haskell-team branch. It contains a big quality
of life improvement for Haskell developers, by allowing cabal-install
to work with Guix-provided packages. Apart from that GHC was upgraded
to version 9.2.8 and Stackage was upgraded to the corresponding version
20.26.

Lars





Information forwarded to guix-patches <at> gnu.org:
bug#71427; Package guix-patches. (Wed, 12 Jun 2024 17:14:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Lars-Dominik Braun <lars <at> 6xq.net>, 71427 <at> debbugs.gnu.org
Subject: Re: Request for merging "haskell-team" branch
Date: Wed, 12 Jun 2024 19:12:43 +0200
Hi Lars,

Am Samstag, dem 08.06.2024 um 08:36 +0200 schrieb Lars-Dominik Braun:
> Hi,
> 
> I would like to merge the haskell-team branch. It contains a big
> quality of life improvement for Haskell developers, by allowing
> cabal-install to work with Guix-provided packages. Apart from that
> GHC was upgraded to version 9.2.8
So far LGTM.

>  and Stackage was upgraded to the corresponding version 20.26.
That commit really lacks a readable message, though.

Further, I think our work is far from done; just attempting to update
pandoc has me yak-shaving the depths of haskell-*.scm with no end in
sight.  If that's our only haskell application, we're in luck, but I
fear there might be more.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#71427; Package guix-patches. (Wed, 12 Jun 2024 19:54:01 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 71427 <at> debbugs.gnu.org
Subject: Re: Request for merging "haskell-team" branch
Date: Wed, 12 Jun 2024 21:53:36 +0200
Hi,

> >  and Stackage was upgraded to the corresponding version 20.26.
> That commit really lacks a readable message, though.

I know it does not conform to Guix standards. What do you suggest? One
commit per package is not feasible.

> Further, I think our work is far from done; just attempting to update
> pandoc has me yak-shaving the depths of haskell-*.scm with no end in
> sight.  If that's our only haskell application, we're in luck, but I
> fear there might be more.

Is Haskell-world, you can’t just update pandoc. Pandoc is part of the
curated set of Stackage packages and those *must not* be updated,
unless there is a new Stackage release which matches our GHC compiler
(there is not). Otherwise, well, dependency hell…

I’m also pushing a fix for ghc-aeson, which should fix most other
packages as well.

Lars





Information forwarded to guix-patches <at> gnu.org:
bug#71427; Package guix-patches. (Thu, 13 Jun 2024 04:25:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 71427 <at> debbugs.gnu.org
Subject: Re: Request for merging "haskell-team" branch
Date: Thu, 13 Jun 2024 06:23:16 +0200
Am Mittwoch, dem 12.06.2024 um 21:53 +0200 schrieb Lars-Dominik Braun:
> Hi,
> 
> > >  and Stackage was upgraded to the corresponding version 20.26.
> > That commit really lacks a readable message, though.
> 
> I know it does not conform to Guix standards. What do you suggest?
> One commit per package is not feasible.
I think mentioning each file and package would be good enough™.
If parts can be split off into more commits, that's fine, but
everything that needs to be bumped along with the variable, needs to be
bumped.

> > Further, I think our work is far from done; just attempting to
> > update pandoc has me yak-shaving the depths of haskell-*.scm with
> > no end in sight.  If that's our only haskell application, we're in
> > luck, but I fear there might be more.
> 
> Is Haskell-world, you can’t just update pandoc. Pandoc is part of the
> curated set of Stackage packages and those *must not* be updated,
> unless there is a new Stackage release which matches our GHC compiler
> (there is not). Otherwise, well, dependency hell…
Is there any other way to get pandoc-3.2 then?  I have a package that
appears to depend on that.
Perhaps we could do -next variants, but there'd still be a lot of them.

> I’m also pushing a fix for ghc-aeson, which should fix most other
> packages as well.
Neat.

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#71427; Package guix-patches. (Fri, 14 Jun 2024 06:26:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 71427 <at> debbugs.gnu.org
Subject: Re: Request for merging "haskell-team" branch
Date: Fri, 14 Jun 2024 08:24:51 +0200
Hi,

> I think mentioning each file and package would be good enough™.
> If parts can be split off into more commits, that's fine, but
> everything that needs to be bumped along with the variable, needs to be
> bumped.

I mean, if a 250-line-ish long, auto-generated commit message is
okay…?[1] It’s usefulness is disputable, but I can’t do this by
hand for ~230 packages.

> Is there any other way to get pandoc-3.2 then?  I have a package that
> appears to depend on that.
> Perhaps we could do -next variants, but there'd still be a lot of them.

You could try a fresh import with `guix import hackage -r pandoc`, but
you’ll probably run into issues with packages requiring more recent
GHC-provided packages. Then you can either try to build a newer GHC[2]
or download the entire Hackage database and use a solver to find a
combination of packages that works with our current GHC (i.e. what
Stackage does by hand, afaik).

> > I’m also pushing a fix for ghc-aeson, which should fix most other
> > packages as well.
> Neat.

This is done now. Let’s convince everyone else that skipping the merge
queue is fine in this case…

Lars

[1] git show | sed -nre 's#^\+\+\+ b/(.*)#* \1#gp; s/^@@.*\(define-public (.*)/(\1): Update./gp' | uniq
[2] https://issues.guix.gnu.org/issue/67921





Information forwarded to guix-patches <at> gnu.org:
bug#71427; Package guix-patches. (Fri, 14 Jun 2024 16:56:02 GMT) Full text and rfc822 format available.

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

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 71427 <at> debbugs.gnu.org
Subject: Re: Request for merging "haskell-team" branch
Date: Fri, 14 Jun 2024 18:54:02 +0200
Am Freitag, dem 14.06.2024 um 08:24 +0200 schrieb Lars-Dominik Braun:
> Hi,
> 
> > I think mentioning each file and package would be good enough™.
> > If parts can be split off into more commits, that's fine, but
> > everything that needs to be bumped along with the variable, needs
> > to be bumped.
> 
> I mean, if a 250-line-ish long, auto-generated commit message is
> okay…?[1] It’s usefulness is disputable, but I can’t do this by
> hand for ~230 packages.
Well, yes, we do have a script to do that, and it'd be an improvement
over what we already have.  Maybe review the output, but that'

> > Is there any other way to get pandoc-3.2 then?  I have a package
> > that appears to depend on that.
> > Perhaps we could do -next variants, but there'd still be a lot of
> > them.
> 
> You could try a fresh import with `guix import hackage -r pandoc`,
> but you’ll probably run into issues with packages requiring more
> recent GHC-provided packages. Then you can either try to build a
> newer GHC[2] or download the entire Hackage database and use a solver
> to find a combination of packages that works with our current GHC
> (i.e. what Stackage does by hand, afaik).
I've started doing that, but I get a conflict with a core package,
meaning that I'd need GHC 9.4 or newer.  We probably ought to look into
making that the current GHC to get a fresher Stackage.

> > > I’m also pushing a fix for ghc-aeson, which should fix most other
> > > packages as well.
> > Neat.
> 
> This is done now. Let’s convince everyone else that skipping the
> merge queue is fine in this case…
Note that I have little experience with Haskell otherwise, so whatever
I say, it'll probably not be too convincing.

Cheers




Reply sent to Lars-Dominik Braun <lars <at> 6xq.net>:
You have taken responsibility. (Sat, 29 Jun 2024 06:59:02 GMT) Full text and rfc822 format available.

Notification sent to Lars-Dominik Braun <lars <at> 6xq.net>:
bug acknowledged by developer. (Sat, 29 Jun 2024 06:59:02 GMT) Full text and rfc822 format available.

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

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Cc: 71427-done <at> debbugs.gnu.org
Subject: Re: Request for merging "haskell-team" branch
Date: Sat, 29 Jun 2024 08:58:41 +0200
Hi,

the branch has been merged into master.

Lars





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Jul 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 100 days ago.

Previous Next


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