all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Greg Hogan <code@greghogan.com>
Cc: Christopher Baines <mail@cbaines.net>,
	 Josselin Poiret <dev@jpoiret.xyz>,
	 Mathieu Othacehe <othacehe@gnu.org>,
	 Ricardo Wurmus <rekado@elephly.net>,
	 Simon Tournier <zimon.toutoune@gmail.com>,
	 Tobias Geerinckx-Rice <me@tobias.gr>,
	 guix-devel <guix-devel@gnu.org>
Subject: Re: [bug#62047] [PATCH 0/2] '--with-input' & co. no longer replace hidden packages
Date: Thu, 14 Sep 2023 17:41:24 +0200	[thread overview]
Message-ID: <87a5to92zf.fsf@gnu.org> (raw)
In-Reply-To: <CA+3U0ZkfNDO1QM3ztqBtGoV1SWvCFkJKdXu9+GWg4fAfo05Nig@mail.gmail.com> (Greg Hogan's message of "Thu, 22 Jun 2023 13:25:47 -0400")

Hi Greg,

(It’s been two months but I completely missed this message.)

Greg Hogan <code@greghogan.com> skribis:

> On Wed, Mar 8, 2023 at 7:03 AM Ludovic Courtès <ludo@gnu.org> wrote:
>>
>> Hello,
>>
>> This change makes things like:
>>
>>   guix build --with-input=guile=guile-next guix -n --no-grafts
>>
>> more useful and tractable.
>>
>> Low-level rewrites are still possible for packages not marked
>> as hidden in 'commencement.scm', such as glibc:
>>
>>   guix build --with-latest=glibc hello -n
>>
>> Thoughts?
>>
>> Ludo'.
>>
>> Ludovic Courtès (2):
>>   packages: Use SRFI-71 instead of SRFI-11.
>>   packages: 'package-input-rewriting/spec' ignores hidden packages.

[...]

> This has broken, for example, building clang with a newer version of
> gcc using package-input-rewriting/spec.

As in:

   guix build clang --with-c-toolchain=clang=gcc-toolchain@12

?  Or some other command?

> What do you think of adding a hidden? property to enable the old
> behavior?

Maybe, but I’m not sure I fully understand the problem.

> Alternatively, why are gcc, binutils, and libc used as build-time
> dependencies rather than gcc-toolchain? gcc-toolchain could be
> rewritten as a non-hidden package and use of the toolchain would
> seemingly better support profiles created with
> package->development-manifest.

We could replace gcc, binutils, etc. with just ‘gcc-toolchain’; this
will need testing of course, but I cannot think of any issue it would
cause.  (That’s a ‘core-updates’ change though.)

Thanks,
Ludo’.


      parent reply	other threads:[~2023-09-14 15:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-08 12:01 [bug#62047] [PATCH 0/2] '--with-input' & co. no longer replace hidden packages Ludovic Courtès
2023-03-08 12:03 ` [bug#62047] [PATCH 1/2] packages: Use SRFI-71 instead of SRFI-11 Ludovic Courtès
2023-03-08 12:03   ` [bug#62047] [PATCH 2/2] packages: 'package-input-rewriting/spec' ignores hidden packages Ludovic Courtès
2023-03-10 11:49   ` [bug#62047] [PATCH 1/2] packages: Use SRFI-71 instead of SRFI-11 Simon Tournier
2023-03-10 16:46     ` Ludovic Courtès
2023-03-10 17:44       ` Simon Tournier
2023-03-09 20:15 ` [bug#62047] [PATCH 0/2] '--with-input' & co. no longer replace hidden packages Josselin Poiret via Guix-patches via
2023-06-22 17:25 ` Greg Hogan
2023-06-24 10:09   ` Josselin Poiret
2023-09-14 15:41   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5to92zf.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=code@greghogan.com \
    --cc=dev@jpoiret.xyz \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    --cc=me@tobias.gr \
    --cc=othacehe@gnu.org \
    --cc=rekado@elephly.net \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.