GNU bug report logs - #47335
xmonad fails to recompile on guix system

Previous Next

Package: guix;

Reported by: Charlie Ruppe <ruppe.charlie <at> gmail.com>

Date: Tue, 23 Mar 2021 01:16:02 UTC

Severity: normal

Found in version 1.2.0-17.ec7fb6

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

Bug is archived. No further changes may be made.

Full log


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

From: Xinglu Chen <public <at> yoctocell.xyz>
To: zimoun <zimon.toutoune <at> gmail.com>, 47335 <at> debbugs.gnu.org, Lars-Dominik
 Braun <lars <at> 6xq.net>, ruppe.charlie <at> gmail.com
Cc: 47335-done <at> debbugs.gnu.org
Subject: Re: bug#47335: Hide GHC not used for building Was: xmonad fails to
 recompile on guix system
Date: Wed, 15 Sep 2021 13:02:47 +0200
[Message part 1 (text/plain, inline)]
On Wed, Sep 15 2021, zimoun wrote:

> Hi,
>
> On Wed, 15 Sept 2021 at 09:43, Lars-Dominik Braun <lars <at> 6xq.net> wrote:
>
>> > I'd be very much in favor of the latter, or maybe rename it to ghc-next.
>> > I have some profiles ghc pinned to a version and upgrading those is
>> > always a mess because Guix tries to build the old version from source
>> > instead of using the next version.
>>
>> I renamed ghc <at> 8.8 to ghc-next in commit
>> 39b43d0d0428474a1d0bf58779d0135163b9c6e3.
>
> Well, I am late to the party and probably out of point but I think
> this '-next' is not something we should introduce and generalize.
> Well, who knows if these '-next' will be the real next. ;-)   My
> comment is also about guile-next, emacs-next and python-next.  Noting
> that gcc-toolchain does not have a '-next'; packages are built using
> 7.5.0 but "guix install gcc-toolchain" will install 11.2.0 and then it
> could lead to the same issue as the one reported with GHC, I guess.
>
> Instead of this '-next' trick, we should find a better mechanism where
> "guix install ghc" would install the default GHC used by the Haskell
> build-system.  Idem for the others guile-next, python-next etc..  And
> any other version should be installed using  the explicit mention,
> i.e., "guix install ghc <at> 8.8", IMHO.

Agreed, but I guess using the ‘-next’ suffix was be the easiest
workaround for now.

Maybe running ‘guix install ghc’ should install the GHC package that the
‘ghc’ variable refers to.  Then this would not only apply to language
ecosystems, but all packages in general.  Right now running ‘guix
install rsync’ installs the ‘rsync-next’ package, but I would expect it
to install the package that the ‘rsync’ variable is bound to.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 3 years and 251 days ago.

Previous Next


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