From: Gottfried <gottfried@posteo.de>
To: Simon Tournier <zimon.toutoune@gmail.com>, help-guix@gnu.org
Subject: Re: attempt to create a profile
Date: Wed, 11 Jan 2023 16:55:49 +0000 [thread overview]
Message-ID: <60c20371-9700-cf30-8ff6-ee127ee8ca98@posteo.de> (raw)
In-Reply-To: <87fscnis4q.fsf@gmail.com>
[-- Attachment #1.1.1: Type: text/plain, Size: 2465 bytes --]
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
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2023-01-11 16:56 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-28 15:09 attempt to create a profile Gottfried
2023-01-06 15:45 ` Simon Tournier
2023-01-09 15:59 ` Gottfried
2023-01-11 21:27 ` Simon Tournier
2023-01-11 16:55 ` Gottfried [this message]
2023-02-04 23:36 ` Kyle Andrews
2023-02-06 17:21 ` Simon Tournier
2023-02-07 10:06 ` Gottfried
2023-02-07 11:03 ` zimoun
2023-02-07 13:33 ` Gottfried
2023-02-08 1:25 ` Csepp
2023-02-08 9:58 ` Simon Tournier
2023-02-09 14:21 ` Gottfried
2023-02-09 14:44 ` Gottfried
2023-02-09 19:20 ` Csepp
2023-02-11 16:20 ` Gottfried
2023-02-11 17:30 ` Csepp
2023-02-12 12:15 ` Gottfried
2023-02-14 4:45 ` Kyle Andrews
2023-02-14 5:40 ` 宋文武
2023-02-14 6:00 ` Kyle Andrews
2023-02-14 11:04 ` Simon Tournier
[not found] <mailman.95.1673024475.17576.help-guix@gnu.org>
2023-01-08 9:21 ` Gottfried
2023-01-08 10:52 ` Csepp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60c20371-9700-cf30-8ff6-ee127ee8ca98@posteo.de \
--to=gottfried@posteo.de \
--cc=help-guix@gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.