On Tue, Jan 17, 2023 at 04:43:48PM +0000, Gottfried wrote: > 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 Here you've switched names. You created the profile at /home/gfp/projects/musescore.guix-profile and that's not the path you gave to GUIX_PROFILE. I expect that you do have a file at /home/gfp/projects/musescore.guix-profile/etc/profile > 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 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" > > -- > > -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted