GNU bug report logs - #66510
`this-package' references reintroduce pre-transformation packages.

Previous Next

Package: guix;

Reported by: Ulf Herrman <striness <at> tilde.club>

Date: Fri, 13 Oct 2023 03:59:02 UTC

Severity: normal

Merged with 50335

Full log


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

From: Jake <jforst.mailman <at> gmail.com>
To: 66510 <at> debbugs.gnu.org
Subject: Unexpected `this-package(-native)-input`
Date: Tue, 9 Apr 2024 14:06:55 +0000
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 163 days ago.

Previous Next


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