Skip to content

Error when running in a foreign distro #49

@nanounanue

Description

@nanounanue

Hi, I am running Guix in two laptops, one is a full GuixOS and in the second one guix runs in a foreign distro (pop os!).

I don't have any problem running emacs-guix in the GuixOS laptop, but I am getting the following error in the foreign distro:

Debugger entered--Lisp error: (error "Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:\nUnbound variable: package/output-sexps\n\nEntering a new prompt.  Type `,bt' for a backtrace or `,q' to cont...")
  signal(error ("Error in evaluating guile expression: ice-9/boot-9.scm:1685:16: In procedure raise-exception:\nUnbound variable: package/output-sexps\n\nEntering a new prompt.  Type `,bt' for a backtrace or `,q' to cont..."))
  error("Error in evaluating guile expression: %s" "ice-9/boot-9.scm:1685:16: In procedure raise-exception:\nUnbound variable: package/output-sexps\n\nEntering a new prompt.  Type `,bt' for a backtrace or ...")
  guix-geiser-eval("(package/output-sexps \"/var/guix/profiles/per-user..." #<buffer *Guix Internal REPL*>)
  guix-geiser-eval-read("(package/output-sexps \"/var/guix/profiles/per-user..." #<buffer *Guix Internal REPL*>)
  guix-eval-read("(package/output-sexps \"/var/guix/profiles/per-user...")
  guix-output-list-get-entries("/var/guix/profiles/per-user/nanounanue/guix-profil..." all)
  apply(guix-output-list-get-entries ("/var/guix/profiles/per-user/nanounanue/guix-profil..." all))
  bui-get-entries(guix-output list ("/var/guix/profiles/per-user/nanounanue/guix-profil..." all))
  guix-package-get-display("/var/guix/profiles/per-user/nanounanue/guix-profil..." all)
  guix-all-packages("/var/guix/profiles/per-user/nanounanue/guix-profil...")
  funcall-interactively(guix-all-packages "/var/guix/profiles/per-user/nanounanue/guix-profil...")
  call-interactively(guix-all-packages)
  magit-invoke-popup-action(97)
  funcall-interactively(magit-invoke-popup-action 97)
  call-interactively(magit-invoke-popup-action nil nil)
  command-execute(magit-invoke-popup-action)

This error happened when trying to list the packages.

Two buffers are opened, besides de *Backtrace*: *Guix REPL* y *Guix Internal REPL*.

The first one shows the following:


Enter `,help' for help.
scheme@(guile-user)> ,m (emacs-guix)
While executing meta-command:
no code for module (gcrypt hash)
scheme@(guile-user)> 

The second one just this:


Enter `,help' for help.
scheme@(guile-user)> ,m (emacs-guix)
scheme@(emacs-guix)> 

NOTE: In the GUIX reddit someone post a similar problem: https://www.reddit.com/r/GUIX/comments/ouv0p5/problem_with_emacsguix_on_foreign_distro/?utm_source=share&utm_medium=web2x&context=3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions