On Saturday, May 31st, 2025 at 3:04 AM, David Lecompte <[email protected]> wrote:
> Le vendredi 30 mai 2025 à 16:58 +0200, David Lecompte a écrit : > > > > 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. > > > I fogot to add: > > - if you have doubts whether the variables are set properly or not, check > "which guix". If it says it is ~/.config/guix/current/bin/guix, then > everything should be ok. If it is /usr/bin/guix, the variables are not set > properly, log out and log in again and recheck. "which guix" says /home/hagbard/.config/guix/current/bin/guix "guix upgrade" gave hagbard@ckup:~/Opstk/obt/Emacs/emacs-30.1-obtdrk$ guix upgrade guix upgrade: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. "guix package -u" gave hagbard@ckup:~/Opstk/obt/Emacs/emacs-30.1-obtdrk$ guix package -u guix package: warning: Consider running 'guix pull' followed by 'guix package -u' to get up-to-date packages and security updates. And "guix install emacs-next" only installed The following package will be installed: emacs-next 28.0.50-0.2ea3466 > - if you did not run "guix pull" (without sudo) before installing emacs (or > other packages), all what you will install are versions from the times the > guix Trisquel package was made. If you did that, run "guix pull" and then > "guix upgrade", then you should have the latest emacs. > > > -- > David Lecompte [email protected] _______________________________________________ Trisquel-devel mailing list [email protected] https://listas.trisquel.info/mailman/listinfo/trisquel-devel
