unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jake <jforst.mailman@gmail.com>
To: 66510@debbugs.gnu.org
Subject: bug#66510: Unexpected `this-package(-native)-input`
Date: Tue, 9 Apr 2024 14:06:55 +0000	[thread overview]
Message-ID: <CAJqVjv-xvBoWYJtoaNvvk5py_c=UCen+KYnzskJ+dmocLuGhbQ@mail.gmail.com> (raw)
In-Reply-To: <87sf6fdvj9.fsf@tilde.club>

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hi Ulf

Has any progress been made on this?

I ran into the same thing, except with native-inputs instead of inputs.
I spent a fair amount of time trying to pin it down, since I don't know
much guile and it requires a combination of conditions to manifest.
Is it worth documenting this behaviour? Or do we expect a solution will be
implemented soon enough?

For now, is the following guideline accurate enough to avoid these
surprises?

If we inherit a package that uses (either directly or through inheritance)
this-package-native-input (or this-package-input), we should not modify the
native inputs (or inputs) via replace if substitute-keyword-arguments is
used anywhere in the inheritance chain.

Thanks
Jake

[-- Attachment #2: Type: text/html, Size: 819 bytes --]

      reply	other threads:[~2024-04-09 14:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-13  3:57 bug#66510: `this-package' references reintroduce pre-transformation packages Ulf Herrman
2024-04-09 14:06 ` Jake [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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to='CAJqVjv-xvBoWYJtoaNvvk5py_c=UCen+KYnzskJ+dmocLuGhbQ@mail.gmail.com' \
    --to=jforst.mailman@gmail.com \
    --cc=66510@debbugs.gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).