3 ms·
Is it possible to write a guix package that includes code which redefines the package object?
by jancsika 9y ago
Is it possible to write a guix package that includes code which redefines the package object?
- codemac 9y agoYes! http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/emacs.scm#n215 http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/... You'll see here that the package emacs-minimal actually inherits from the emacs package definition, and then all fields afterwards are essentially overwrites of whatever was in the emacs package. Unfortunately, I just noticed that the manual alludes to this, but actually never explicitly documents it in the "Defining Packages" section :/