GNU bug report logs - #56376
emacs-guix missing from package-activated-list

Previous Next

Package: guix;

Reported by: Philip McGrath <philip <at> philipmcgrath.com>

Date: Mon, 4 Jul 2022 01:35:02 UTC

Severity: normal

To reply to this bug, email your comments to 56376 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56376; Package guix. (Mon, 04 Jul 2022 01:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philip McGrath <philip <at> philipmcgrath.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 04 Jul 2022 01:35:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: bug-guix <at> gnu.org
Subject: emacs-guix missing from package-activated-list
Date: Sun, 03 Jul 2022 21:33:58 -0400
[Message part 1 (text/plain, inline)]
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 <at> 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 <at> avalon:/tmp/emacs-bug$ cat demo.el 
(require 'package)
(package-initialize)                                                     
(print package-activated-list)
philip <at> 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)
```
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#56376; Package guix. (Mon, 04 Jul 2022 06:41:02 GMT) Full text and rfc822 format available.

Message #8 received at 56376 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
To: Philip McGrath <philip <at> philipmcgrath.com>, 56376 <at> debbugs.gnu.org
Subject: Re: emacs-guix missing from package-activated-list
Date: Mon, 04 Jul 2022 08:40:36 +0200
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.




Information forwarded to bug-guix <at> gnu.org:
bug#56376; Package guix. (Wed, 04 Oct 2023 03:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 56376 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
Cc: 56376 <at> debbugs.gnu.org, Philip McGrath <philip <at> philipmcgrath.com>
Subject: Re: bug#56376: emacs-guix missing from package-activated-list
Date: Tue, 03 Oct 2023 23:12:36 -0400
Hi,

Liliana Marie Prikler <liliana.prikler <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#56376; Package guix. (Wed, 04 Oct 2023 06:15:02 GMT) Full text and rfc822 format available.

Message #14 received at 56376 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> ist.tugraz.at>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 56376 <at> debbugs.gnu.org, Philip McGrath <philip <at> philipmcgrath.com>
Subject: Re: bug#56376: emacs-guix missing from package-activated-list
Date: Wed, 04 Oct 2023 08:13:49 +0200
Am Dienstag, dem 03.10.2023 um 23:12 -0400 schrieb Maxim Cournoyer:
> Hi,
> 
> Liliana Marie Prikler <liliana.prikler <at> 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





This bug report was last modified 1 year and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.