GNU bug report logs -
#78387
Bug in guix manual: "Submitting Packages" doesn't advise to check for inheritance
Previous Next
To reply to this bug, email your comments to 78387 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#78387
; Package
guix
.
(Mon, 12 May 2025 01:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"nomike (they/them)" <nomike <at> nomike.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Mon, 12 May 2025 01:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi!
I've recently submitted a patch for openscad which was approved and
merged into guix.
Unfortunately, this broke the package =emacs-scad-mode=, a fact I didn't
know back then.
It's quite simple to fix: The upstream project just cut out their emacs
major mode, so instead of inheriting from =openscad=, =emacs-scad-mode=
should be a separate package, and I'm already working on this.
The issue this brings up though is, that the manual doesn't talk about
this at all in the "Submitting Packages" section, and thus I completely
missed that.
I also don't know how to properly test for this. There doesn't seem to
be an equivalent to `guix refresh --list-dependents foo` for listing
packages inheriting a certain one. The best I could come up with was
=grep -r '(inherit openscad'= for now, but that seems far from optimal.
So IMHO we first need to come up with a decent method of searching for
packages directly or indirectly inheriting another one. And secondly we
need to document this in the manual.
Any thoughts on that?
Regards
nomike
This bug report was last modified 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.