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: Simon Tournier
Subject: Re: attempt to create a profile
Date: Fri, 06 Jan 2023 16:45:25 +0100

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




reply via email to

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