unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#56376: emacs-guix missing from package-activated-list
@ 2022-07-04  1:33 Philip McGrath
  2022-07-04  6:40 ` Liliana Marie Prikler
  0 siblings, 1 reply; 4+ messages in thread
From: Philip McGrath @ 2022-07-04  1:33 UTC (permalink / raw)
  To: 56376

[-- Attachment #1: Type: text/plain, Size: 2393 bytes --]

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)
        (url "https://git.savannah.gnu.org/git/guix.git")
        (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)
```

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56376: emacs-guix missing from package-activated-list
  2022-07-04  1:33 bug#56376: emacs-guix missing from package-activated-list Philip McGrath
@ 2022-07-04  6:40 ` Liliana Marie Prikler
  2023-10-04  3:12   ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Liliana Marie Prikler @ 2022-07-04  6:40 UTC (permalink / raw)
  To: Philip McGrath, 56376

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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56376: emacs-guix missing from package-activated-list
  2022-07-04  6:40 ` Liliana Marie Prikler
@ 2023-10-04  3:12   ` Maxim Cournoyer
  2023-10-04  6:13     ` Liliana Marie Prikler
  0 siblings, 1 reply; 4+ messages in thread
From: Maxim Cournoyer @ 2023-10-04  3:12 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 56376, Philip McGrath

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.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56376: emacs-guix missing from package-activated-list
  2023-10-04  3:12   ` Maxim Cournoyer
@ 2023-10-04  6:13     ` Liliana Marie Prikler
  0 siblings, 0 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2023-10-04  6:13 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 56376, Philip McGrath

Am Dienstag, dem 03.10.2023 um 23:12 -0400 schrieb Maxim Cournoyer:
> 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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-04  6:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04  1:33 bug#56376: emacs-guix missing from package-activated-list Philip McGrath
2022-07-04  6:40 ` Liliana Marie Prikler
2023-10-04  3:12   ` Maxim Cournoyer
2023-10-04  6:13     ` Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).