Alex Kost <alez...@gmail.com> skribis: > Ludovic Courtès (2014-08-22 12:56 +0400) wrote: > >> Alex Kost <alez...@gmail.com> skribis: >> >>> Thanks, now (with the latest “guix pull”), installing/upgrading/removing >>> should work in "guix.el". If you (or someone else) wish to try it, you >>> may use: >>> >>> (setq guix-dry-run t) >>> >>> (It has the same meaning as “--dry-run” option). >> >> I gave it a try, but AFAICS, when the REPL is started as “internal”, >> guix-main.scm isn’t loaded, and thus “Install” fails: >> >> scheme@(guile-user)> (process-package-actions #:install '((58935712 "out")) >> #:upgrade '() #:remove '() #:use-substitutes? #t #:dry-run? #f) >> ;;; <stdin>:11:0: warning: possibly unbound variable >> `process-package-actions' >> <unnamed port>:11:0: In procedure #<procedure 42ba0c0 at <current >> input>:11:0 ()>: >> <unnamed port>:11:0: In procedure module-lookup: Unbound variable: >> process-package-actions >> >> Did I miss something? > > I don't understand why you get this, it works for me and I can't > reproduce it with "emacs -Q". Does the following recipe works for you?:
I can no longer reproduce the issue, but my ~/.config/guix/latest was pointing to an older version, so I think this may have led to a silent failure about unbound variables, which then prevented guix-helper.scm to be successfully loaded. Thanks, Ludo’.