unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Gottfried <gottfried@posteo.de>
To: Csepp <raingloom@riseup.net>
Cc: help-guix@gnu.org
Subject: Re: creating a profile with Musescore 4
Date: Tue, 17 Jan 2023 16:43:48 +0000	[thread overview]
Message-ID: <26afbe12-afbb-b784-a72c-7299e725fb00@posteo.de> (raw)
In-Reply-To: <87y1q2xqes.fsf@riseup.net>


[-- Attachment #1.1.1: Type: text/plain, Size: 2311 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2023-01-17 16:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-16 17:16 creating a profile with Musescore 4 Gottfried
2023-01-16 18:50 ` Csepp
2023-01-17 16:43   ` Gottfried [this message]
2023-01-18 11:04     ` Efraim Flashner
2023-01-19 13:07       ` Gottfried
2023-01-19 13:33         ` Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=26afbe12-afbb-b784-a72c-7299e725fb00@posteo.de \
    --to=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=raingloom@riseup.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).