[Trisquel-devel] Installing dependencies for latest emacs and gcc releases
David Lecompte
trisquel at metani.fr
Fri May 30 14:58:49 UTC 2025
>
> Have run 'guix install emacs' which installed 'emacs 27.2'.
>
> Finally guix gave the hint below
>
> hint: Consider setting the necessary environment variables by running:
>
> GUIX_PROFILE="/home/hagbard/.guix-profile"
> . "$GUIX_PROFILE/etc/profile"
>
>
> How would the hint be implemented in my .bashrc file?
>
> Like so:
>
> GUIX_PROFILE="/home/hagbard/.guix-profile"
>
> ##
> ## source "$GUIX_PROFILE/etc/profile" # or the command K2
> . "$GUIX_PROFILE/etc/profile" # K2
>
>
If you use Trisquel with MATE, all the necessary variables are set at login,
there is no need to follow these advices. So you can simply log out and log
in and they will be set properly, or you can run "bash -l" as advised in the
wiki (-l stands for login, so that files in /etc/profile.d are sourced,
including /etc/profile.d/guix.sh) to run the guix pull and guix install.
Don't forget to set $XDG_DATA_DIRS as adviced in the Trisquel wiki before
loging out of the session, or the next opening of MATE session will fail. If
it happens, you can still log in to a text session and do the settings as
explained in the wiki, then log out and log in again.
More information about the Trisquel-devel
mailing list