George Clemmer (2018-10-26 00:59 -0400) wrote:
> Hi Alex,
Hello George!
> I have been using code like ...
>
> (with-eval-after-load (quote guix-ui-profile)
> (setq guix-profiles
> (append (quote("/home/glc/gom/.guix-profile")) guix-profiles)))
> (setq guix-current-profile "/home/glc/gom/.guix-profile")
>
> ... to add a "project" profile to *Guix Profile* and make it
> current. This has my desired effect: "making" emacs-guix package-related
> commands operate on a "project" profile instead of the "default user
> profile". Using your commit ...
>
> 4ce2b6a * master origin/master Add new 'guix' command and rename the old
> one to 'guix-command'
Hint: since you are on this commit, you may check the new "M-x guix" -
you will be the first person who will try it (maybe you will like it
this time) ;-)
> ... I tried "guix-set-emacs-environment" expecting it to be another way
> to do the same thing. I was surprised when it didn't add the "new"
> profile to *Guix Profiles*. Shouldn't it do this, or am I missing
> something? In fact, it doesn't seem to be doing anything :-(
"M-x guix-set-emacs-environment" sets environment variables for Emacs
itself! For example, you may check "M-x getenv PATH" or other
variables. They should be augmented for the profile you selected.
--
Alex