all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: Michael Rohleder <mike@rohleder.de>
Cc: guix-devel@gnu.org
Subject: Re: Missing dependency for emacs-magit
Date: Mon, 14 Feb 2022 18:41:49 +0000	[thread overview]
Message-ID: <779abb46-d5af-1312-84d0-a9339e456674@posteo.de> (raw)
In-Reply-To: <87tud2maa6.fsf@rohleder.de>

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

On 2/14/22 03:50, Michael Rohleder wrote:
> Zelphir Kaltstahl<zelphirkaltstahl@posteo.de>  writes:
>> I noticed, that the emacs-magit package does not seem to work. When I
>> install it via guix and load it via guix-init in my init.el file, I
>> get the following error in my *Messages* buffer:
> What do you mean with "load it via guix-init in my init.el"?
>
> with e.g.
> `guix shell -C -E TERM emacs-no-x emacs-magit -- emacs`
> magit seems to work.

Hi Michael!

What I mean by that is the following in `init.el`:

~~~~
(setq guix-package-enable-at-startup t)
(require 'guix-init nil t)
~~~~

I have a separate profile, which I created for Emacs and Emacs packages from Guix:

~~~~
$ guix package --manifest="${GUIX_EXTRA_PROFILES}"/emacs-test-profile-manifest.scm --profile="${GUIX_EXTRA_PROFILES}"/emacs-test-profile
$ GUIX_PROFILE="${GUIX_EXTRA_PROFILES}/emacs-test-profile"; source "${GUIX_PROFILE}/etc/profile"
$ emacs
~~~~

Where the `manifest.scm` contains:

~~~~
(specifications->manifest
  '("emacs"
    "emacs-auto-complete"
    "emacs-company"
    "emacs-dockerfile-mode"
    "emacs-editorconfig"
    "emacs-erlang"
    "emacs-exec-path-from-shell"
    "emacs-flycheck"
    "emacs-geiser"
    "emacs-geiser-guile"
    "emacs-geiser-racket"
    "emacs-goto-chg"
    "emacs-jinja2-mode"
    "emacs-json-mode"
    "emacs-magit"
    "emacs-markdown-mode"
    "emacs-moe-theme-el"
    "emacs-monokai-theme"
    "emacs-multiple-cursors"
    "emacs-neotree"
    "emacs-ob-async"
    "emacs-org"
    "emacs-ox-gfm"
    "emacs-pkg-info"
    "emacs-python-environment"
    "emacs-racket-mode"
    "emacs-sml-mode"
    "emacs-toml-mode"
    "emacs-typescript-mode"
    "emacs-undo-tree"
    "emacs-web-mode"
    "emacs-yaml-mode"
    "emacs-yasnippet"
    "guile"
    "guile-colorized"
    "guile-fslib"
    "guile-json"
    "guile-readline"
    "racket"))
~~~~

The channel is currently:

~~~~
$ guix describe --format=channels
(list (channel
         (name 'guix)
         (url"https://git.savannah.gnu.org/git/guix.git")
         (branch "master")
         (commit
           "74afcc0f555699d9d6a040fded04a1a379c0b1de")
         (introduction
           (make-channel-introduction
             "9edb3f66fd807b096b48283debdcddccfea34bad"
             (openpgp-fingerprint
               "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA")))))
~~~~

When I run `emacs` with that profile, I get the error I described earlier.

Regards,
Zelphir

-- 
repositories:https://notabug.org/ZelphirKaltstahl

[-- Attachment #2: Type: text/html, Size: 3361 bytes --]

  reply	other threads:[~2022-02-14 18:57 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-13 23:51 Missing dependency for emacs-magit Zelphir Kaltstahl
2022-02-14  2:50 ` Michael Rohleder
2022-02-14 18:41   ` Zelphir Kaltstahl [this message]
2022-02-14 19:33     ` Liliana Marie Prikler
2022-02-15  9:45       ` Zelphir Kaltstahl
2022-02-15 19:54         ` Liliana Marie Prikler
2022-02-16 22:23           ` Zelphir Kaltstahl
2022-02-17 17:49             ` Liliana Marie Prikler
2022-02-17 19:26               ` Ricardo Wurmus
2022-02-18  1:10               ` Zelphir Kaltstahl
2022-02-18  4:51                 ` Liliana Marie Prikler
2022-02-19  2:34                   ` Zelphir Kaltstahl
2022-02-19  7:30                     ` Liliana Marie Prikler
2022-02-19 15:43                       ` Zelphir Kaltstahl
2022-02-19 16:04                         ` Liliana Marie Prikler
2022-02-22  9:34                       ` Zelphir Kaltstahl
2022-02-22 10:39                         ` Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=779abb46-d5af-1312-84d0-a9339e456674@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=guix-devel@gnu.org \
    --cc=mike@rohleder.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.