help-guix
[Top][All Lists]
Advanced

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

Re: creating a profile with Musescore 4


From: Gottfried
Subject: Re: creating a profile with Musescore 4
Date: Tue, 17 Jan 2023 16:43:48 +0000

Hi,
I want to create a profile with only one package "musescore" in it

I did a

guix package -i musescore -p projects/musescore.guix-profile

and a

export GUIX_PROFILE=/projects/musescore

and it created 2 directories
        musescore.guix-profile-1-link
        musescore.guix-profile


I have in my directory /home/gfp/projects
now 2 directorys:

musescore.guix-profile-1-link
(directories: bin, etc, include, lib, share
file: manifest)

musescore.guix.profile
(directories: bin, etc, include, lib, share
file: manifest)

...............................................................

But now I got stuck.

I can't enter in my new profile.


export GUIX_PROFILE=$PWD/projects/musescore

This way I can load any of them by cd-ing to the directory and run
GUIX_PROFILE="$PWD/.guix-profile" source ".guix-profile/etc/profile"

I tried that, didn't help.

bash: .guix-profile/etc/profile: no directory or file was found

Where is my mistake?

Kind regards

Gottfried



Am 16.01.23 um 19:50 schrieb Csepp:

Gottfried <gottfried@posteo.de> writes:

[[PGP Signed Part:Undecided]]
Hi,

I did a

guix package -i musescore -p projects/musescore.guix-profile

and it created a profile
......................................
then I loaded it

export GUIX_PROFILE=/projects/musescore

.........................................
   but:

  source "${GUIX_PROFILE}/etc/profile"

did not work

"no directory was found"
.............................................

How can I source my new profile?

Because I couldn’t enter in it yet.


Kind regards

Gottfried

[2. OpenPGP public key --- application/pgp-keys; 
OpenPGP_0x61FAF349C9FB7F94.asc]...

[[End of PGP Signed Part]]

Here is the error:
export GUIX_PROFILE=/projects/musescore
/projects/musescore does not exist.

What you probably wanted to do was
export GUIX_PROFILE=$PWD/projects/musescore

My preference is to name all profiles ".guix-profile" and only have at
most one profile per directory.
This way I can load any of them by cd-ing to the directory and run
GUIX_PROFILE="$PWD/.guix-profile" source ".guix-profile/etc/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]