Hi Andrew, Am Donnerstag, dem 09.12.2021 um 12:01 +0300 schrieb Andrew Tropin: > > * guix/build/emacs-build-system.scm (%default-exclude): Add > generation of > -pkg.el files for packages, which do not provide them. > --- > Implemented phase, which generates -pkg.el from comments in library > file.  The solution for finding main el file of the package is a > little hacky, because package name isn't available build time. > > I took a part of the elisp implementation from melpa source code. > https://github.com/melpa/melpa/blob/master/package-build/package-build.el#L553 As promised, I took a deeper look at your patch. As already noted, there were some clean-up actions I had to perform, such as keeping to our line limit (it was not easy, I tell you) among other things. Also, confusingly, your condition-case code did not handle errors and wrong handling of the version field blew up everything for me. Did you test this code? In any case, attached is my revised patch. I so far only checked it with emacs-olivetti -- a package whose description is missing in current Guix Emacs. I'll give everyone some time to test things before pushing this however; I don't want to break a bunch of Emacs packages scattered around various files. Cheers