|
From: | Gottfried |
Subject: | Re: attempt to create a profile |
Date: | Wed, 11 Jan 2023 16:55:49 +0000 |
Hi, .............................................................. to create my "Musescore-3.6.2" Profile I would have to: guix package -i musescore-3.6.2 -p projects/musescore-3.6.2.guix-profile (because I have got the directory: /home/gfp/profile/Musescore-3.6.2 and I am already in my /home/gfp/ directory) then load it: export GUIX_PROFILE=/projects/Musescore-3.6.2 source "${GUIX_PROFILE}/etc/profile" ........................................................... to enter my Musescore profile I have to: source /home/gfp/profile/Musescore-3.6.2/ ...do some stuff...exit (in the terminal, which I leave open during visiting the profile Musescore)
Am I through "exit" automatically in my normal profile? or do I have to enter through: source .guix-profile/etc/profile (because that is my main profile and I am already in /home/gfp/ directory)? .......................................................... I want to be 100 % sure that’s why I am asking thanks for help Gottfried Am 06.01.23 um 16:45 schrieb Simon Tournier:
Hi, On Wed, 28 Dec 2022 at 15:09, Gottfried <gottfried@posteo.de> wrote:Which commands can I use to enter and close my new profile?To enter, you just need to ’source path/to/some-profile/etc/profile’. However, you cannot “deactivacte“; unset the environment variables and restore the previous ones. Maybe, the easiest is: bash source path/to/some-profile/etc/profile …do some stuff… exit Instead, you can run guix shell -p path/to/some-profile/etc/profile …do some stuff… exit which does the same thing as above....and also at start up that I can choose which profile to open?What do you mean by “choose”?guix package --profile=/home/gfp/projects/musescore-3.6.2.guix-profile and beforehand I created the directory "projects" and "Musescore-3.6.2" in the directory "projects" in my /home/gfp/ directory (I did that because it said: " file or directory was not found" but it didn't work. "warning: nothing to do" was the answer. Where was my mistake?It is missing the option -i (or -m). For instance, guix package -i musescore -p projects/musescore-3.6.2.guix-profile Cheers, simon
-- Kind regards Gottfried
OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |