Felix Lechner via "Development of GNU Guix and the GNU System distribution." <guix-devel@gnu.org> writes:

On Thu, Feb 27 2025, Leo Famulari wrote:

I always recommend against using inheritance

Yes, it's like a disease! Please make the use of inheritance illegal in
package declarations except in approved cases.

I don't know why this topic elicits strong emotions. "disease" and "illegal" are very weird word choices; I don't think that's helpful here.

@Tanguy

Even though you may feel pressured to write a verbose version of this
package variant after reading the messages here, I think it's a
perfectly situation for inheritance. There is nothing wrong with use of inheritance for closely related package variants, such as python-3.12 and python-3.13. Only one of these versions will eventually remain, so
one replaces the other in the long run.

If you want I can take a closer look at why your particular approach
wasn't working.

--
Ricardo

Reply via email to