help-guix
[Top][All Lists]
Advanced

[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: Sun, 8 Jan 2023 09:21:37 +0000

Hi Simon,


 ...and also at start up that I can choose which profile to open?

What do you mean by “choose”?



I meant when I am starting Guix, I can choose to use MATE desktop or Enlightenment Desktop. If there is also the option to choose a certain profile, in case I have more profils.

When I have choosen MATE desktop,
which profile opens?

I am worried, that, if I create a profile with only one package "musescore" in it,
and if that opens, or after creating that profile,
I can't switch to my main profile.

So before creating a profile with only one package musecore in it
I want to be sure how I can switch to that profile and how I can choose my other, my main profile.


Kind regards

Gottfried



Date: Fri, 06 Jan 2023 16:45:25 +0100
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Gottfried <gottfried@posteo.de>, Csepp <raingloom@riseup.net>,
        Wojtek Kosior <koszko@koszko.org>, help-guix@gnu.org
Subject: Re: attempt to create a profile
Message-ID: <87fscnis4q.fsf@gmail.com>
Content-Type: text/plain; charset=utf-8

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


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]