emacs-guix missing from package-activated-list

  • Open
  • quality assurance status badge
Details
3 participants
  • Liliana Marie Prikler
  • Maxim Cournoyer
  • Philip McGrath
Owner
unassigned
Submitted by
Philip McGrath
Severity
normal
P
P
Philip McGrath wrote on 4 Jul 2022 03:33
(address . bug-guix@gnu.org)
2246709.ElGaqSPkdT@avalon
Hi,

I've been looking into managing my Emacs packages with Guix. I found that the `emacs-guix` package doesn't seem to show up in the `package-activated-list`, even though its dependencies do, which seems like a bug. Here's an illustration:

```
philip@avalon:/tmp/emacs-bug$ guix describe --format=channels
(list (channel
(name 'guix)
(branch "master")
(commit
"e069de452a2c923868f5137421b4b6349c38d754")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))
philip@avalon:/tmp/emacs-bug$ cat demo.el
(require 'package)
(package-initialize)
(print package-activated-list)
philip@avalon:/tmp/emacs-bug$ guix shell --pure --container emacs emacs-guix -- emacs --script demo.el
Loading /gnu/store/7vpfhr5fzvyvnh62lj17b97q7vr0svjj-emacs-guix-0.5.2-5.c9aef52/share/emacs/site-lisp/guix-0.5.2-5.c9aef52/guix-autoloads.el (source)...
Loading /gnu/store/4hnp17pjbvi3xirk9ygxzv5hb24c9ghk-emacs-bui-1.2.1/share/emacs/site-lisp/bui-1.2.1/bui-autoloads...
Loading /gnu/store/gx62xcfnn7dw1ib88gzbvgbz255vrd9i-emacs-dash-2.19.1/share/emacs/site-lisp/dash-2.19.1/dash-autoloads...
Loading /gnu/store/aqbcw5fjmsr4lndhpgs4bzgd58a16rkw-emacs-edit-indirect-0.1.8/share/emacs/site-lisp/edit-indirect-0.1.8/edit-indirect-autoloads...
Loading /gnu/store/sic558dq3rlcx6d0f1h7pq6cq1mkliaz-emacs-geiser-0.23.2/share/emacs/site-lisp/geiser-0.23.2/geiser-autoloads...
Loading /gnu/store/qc3b61ygmgpnhssy4yvk4a66xcd81kss-emacs-project-0.8.1/share/emacs/site-lisp/project-0.8.1/project-autoloads...
Loading /gnu/store/6al6nhnkxkgznh7fla8rsyis8cxywz6l-emacs-xref-1.4.1/share/emacs/site-lisp/xref-1.4.1/xref-autoloads...
Loading /gnu/store/g2b2bagb3p1vw57kxgry7pnh32grl4d0-emacs-transient-0.3.7/share/emacs/site-lisp/transient-0.3.7/transient-autoloads...
Loading /gnu/store/dacdgzvhn1n4j8dcac6d67vnc9fnlmym-emacs-geiser-guile-0.23.2/share/emacs/site-lisp/geiser-guile-0.23.2/geiser-guile-autoloads...
Loading /gnu/store/l7qm8v9pnpadllxyr6g348a4knfj4x42-emacs-magit-popup-2.13.3/share/emacs/site-lisp/magit-popup-2.13.3/magit-popup-autoloads...

(bui edit-indirect xref geiser-guile geiser magit-popup dash)
```
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE9GWrrNY3rqwUFVXPygNjjfo/HHoFAmLCQ4YACgkQygNjjfo/
HHoXJA//aMPvKE4toDxAQIsMpDk9aGJeQBTTrBj4DoxULXTdFBwidBK1KWeNAJk6
oCA6N9l7R0iraaMpEfrb2xLuAMRHkKCqgaPZoq4n06kwSlyLtF8m5p3DAKdwcGdT
hfW1FoNVbZl5q4Hd0WqUfwRXLy4toincKAUggkRg61HOyeL2sNUx/CxbTOi3oMaz
7yMSFw9QSQ8Dht4cy8U19/LwQOFSdnP8G9dmimy0h57nSdxdBphCg1y8QYxd4ZjV
KALjhrMiG+JpeBP2/sFBs+UT8PISQ51zC28LKlE+jFAmTrIC9Sla/zgEFPMU7CaQ
1N9DpBkUXsL4hYXZSuuDAdPlYVI6cRSFdnCrUyjYsiUQauAen6KlLUkG9gOZB73U
IhSc3jeYTbypeFPwW4+a4D952Tl9Qmn5CPtw4+s5O4hSQcHYEWpJWM4wdonzG1gV
T/MRY7hVg2zpVoSCu1pheAomyNTFRTbJ75FPDcG2tUWXLFD31t7tKGJhSP1y5BYw
e5y6mV2FoHUzA9IuK0ZOrUugW/vCKsqgh7Kk4ktIV7gpyj3f0xB63lAfifuQitd/
n3hfMdYiS/Oqa62V/ZkE/ZKBlqS9hHCkv9O0jyo+bKWiCA4FcyfBkmcLwfpp3XIn
X0aAKO0/L3Qwizq1qDq8Mpqz2FDXfAGUK+/Wf0hiLD8LvB19+5M=
=gPm/
-----END PGP SIGNATURE-----


L
L
Liliana Marie Prikler wrote on 4 Jul 2022 08:40
880affa5d4cb2e96123afd2f4ef39bb726b50615.camel@ist.tugraz.at
Am Sonntag, dem 03.07.2022 um 21:33 -0400 schrieb Philip McGrath:
Toggle quote (6 lines)
> Hi,
>
> I've been looking into managing my Emacs packages with Guix. I found
> that the `emacs-guix` package doesn't seem to show up in the
> `package-activated-list`, even though its dependencies do, which
> seems like a bug.
This might be related to the fact that Emacs doesn't see guix as a
package. I think the recipe might be missing the -pkg.el
autogeneration we added to emacs-build-system.
M
M
Maxim Cournoyer wrote on 4 Oct 2023 05:12
Re: bug#56376: emacs-guix missing from package-activated-list
(name . Liliana Marie Prikler)(address . liliana.prikler@ist.tugraz.at)
87fs2r3wt7.fsf@gmail.com
Hi,

Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> writes:

Toggle quote (11 lines)
> Am Sonntag, dem 03.07.2022 um 21:33 -0400 schrieb Philip McGrath:
>> Hi,
>>
>> I've been looking into managing my Emacs packages with Guix. I found
>> that the `emacs-guix` package doesn't seem to show up in the
>> `package-activated-list`, even though its dependencies do, which
>> seems like a bug.
> This might be related to the fact that Emacs doesn't see guix as a
> package. I think the recipe might be missing the -pkg.el
> autogeneration we added to emacs-build-system.

We could workaround the problem using the ensure-package-description of
the emacs-build-system phase, but since the emacs-guix package uses the
gnu-build-system, we'd also need to manually install the -pkg.el file
generated by the phase.

Since we maintain the package in Savannah, it seems it'd be more elegant
to have an emacs-guix-pkg.el file templated by the GNU build system and
installed by it.

--
Thanks,
Maxim
L
L
Liliana Marie Prikler wrote on 4 Oct 2023 08:13
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)
e5d1dc9584abcee4b54267d1281ff0bad35c6803.camel@ist.tugraz.at
Am Dienstag, dem 03.10.2023 um 23:12 -0400 schrieb Maxim Cournoyer:
Toggle quote (23 lines)
> Hi,
>
> Liliana Marie Prikler <liliana.prikler@ist.tugraz.at> writes:
>
> > Am Sonntag, dem 03.07.2022 um 21:33 -0400 schrieb Philip McGrath:
> > > Hi,
> > >
> > > I've been looking into managing my Emacs packages with Guix. I
> > > found that the `emacs-guix` package doesn't seem to show up in
> > > the `package-activated-list`, even though its dependencies do,
> > > which seems like a bug.
> > This might be related to the fact that Emacs doesn't see guix as a
> > package.  I think the recipe might be missing the -pkg.el
> > autogeneration we added to emacs-build-system.
>
> We could workaround the problem using the ensure-package-description
> of the emacs-build-system phase, but since the emacs-guix package
> uses the gnu-build-system, we'd also need to manually install the -
> pkg.el file generated by the phase.
>
> Since we maintain the package in Savannah, it seems it'd be more
> elegant to have an emacs-guix-pkg.el file templated by the GNU build
> system and installed by it.
Indeed, maintaining a proper package description upstream is the
preferable option.

Cheers
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56376@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56376
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch