[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: attempt to create a profile

From: Gottfried
Subject: Re: attempt to create a profile
Date: Mon, 9 Jan 2023 15:59:13 +0000


can I use two profiles at the same time?

When I have my main profile, additionally to open a second profile to use the package in there?
Or do I have to switch from one profile to the other and then switch back?
 I am still unsure how it works.

 Kind regards


Am 06.01.23 um 16:45 schrieb Simon Tournier:

On Wed, 28 Dec 2022 at 15:09, Gottfried <> 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:

    source path/to/some-profile/etc/profile
    …do some stuff…

Instead, you can run

     guix shell -p path/to/some-profile/etc/profile
     …do some stuff…

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



Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]