Hi nomike,
"nomike (they/them)" <nom...@nomike.com> writes:
Hi!
I've just discovered that when you inherit a package from
another one,
it does not inherit the parent's name.
In the
[[https://guix.gnu.org/cookbook/en/html_node/Inheritance.html][guix
cookbook]] however. it says:
#+BEGIN_QUOTE
All unspecified fields are inherited from the parent package.
#+END_QUOTE
But obviously this is not the case, as you get a compile error
from
guile when you omit the name from a derived package.
Can you provide a reproducer? I get the documented behavior for a
trivial case:
scheme@(guile-user)> ,use (gnu packages emacs-xyz)
scheme@(guile-user)> (package-name (package (inherit
emacs-org)))
$18 = "emacs-org"
scheme@(guile-user)>
I’m on Guix commit efac01f19b65d7d77a98bbfd57fe2073fb13064a.
Thanks,
-- Ian