unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* creating a profile with Musescore 4
@ 2023-01-16 17:16 Gottfried
  2023-01-16 18:50 ` Csepp
  0 siblings, 1 reply; 6+ messages in thread
From: Gottfried @ 2023-01-16 17:16 UTC (permalink / raw)
  To: help-guix


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

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


[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: creating a profile with Musescore 4
  2023-01-16 17:16 creating a profile with Musescore 4 Gottfried
@ 2023-01-16 18:50 ` Csepp
  2023-01-17 16:43   ` Gottfried
  0 siblings, 1 reply; 6+ messages in thread
From: Csepp @ 2023-01-16 18:50 UTC (permalink / raw)
  To: Gottfried; +Cc: help-guix


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"


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: creating a profile with Musescore 4
  2023-01-16 18:50 ` Csepp
@ 2023-01-17 16:43   ` Gottfried
  2023-01-18 11:04     ` Efraim Flashner
  0 siblings, 1 reply; 6+ messages in thread
From: Gottfried @ 2023-01-17 16:43 UTC (permalink / raw)
  To: Csepp; +Cc: help-guix


[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: creating a profile with Musescore 4
  2023-01-17 16:43   ` Gottfried
@ 2023-01-18 11:04     ` Efraim Flashner
  2023-01-19 13:07       ` Gottfried
  0 siblings, 1 reply; 6+ messages in thread
From: Efraim Flashner @ 2023-01-18 11:04 UTC (permalink / raw)
  To: Gottfried; +Cc: Csepp, help-guix

[-- Attachment #1: Type: text/plain, Size: 3102 bytes --]

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 <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"
> 
> -- 
> 
> 






-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: creating a profile with Musescore 4
  2023-01-18 11:04     ` Efraim Flashner
@ 2023-01-19 13:07       ` Gottfried
  2023-01-19 13:33         ` Efraim Flashner
  0 siblings, 1 reply; 6+ messages in thread
From: Gottfried @ 2023-01-19 13:07 UTC (permalink / raw)
  To: Csepp, help-guix, Efraim Flashner


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

Hi,

sorry for writing again,
but I didn't manage to create my profile yet.
...............................................
I did a:

guix package -i musescore -p Projekte/Musescore/guix-profil
Das folgende Paket wird installiert(this package will be installed):
    musescore 4.0
.......................................................
after that there was this message:
Hinweis: Vielleicht möchten Sie die nötigen Umgebungsvariablen 
festlegen, indem Sie dies
ausführen:

      GUIX_PROFILE="/home/gfp/Projekte/Musescore/guix-profil"
      . "$GUIX_PROFILE/etc/profile"

Sie können sie auch mit `guix package --search-paths -p
"/home/gfp/Projekte/Musescore/guix-profil"' nachlesen.(you can read in:)
................................................................
I did that:
GUIX_PROFILE="/home/gfp/Projekte/Musescore/guix-profil"
      . "$GUIX_PROFILE/etc/profile"
..........................................................
after that I did a:
export GUIX_PROFILE=/Projekte/Musescore/guix-profil
....................................................
after that I did a:
source "${GUIX_PROFILE}/etc/profile"

..................................................
message was:
-bash: /Projekte/Musescore/guix-profil/etc/profile: Datei oder 
Verzeichnis nicht gefunden (file or directory was not found)
........................................................

Where was my mistake?



Kind regards

Gottfried



[-- 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 --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: creating a profile with Musescore 4
  2023-01-19 13:07       ` Gottfried
@ 2023-01-19 13:33         ` Efraim Flashner
  0 siblings, 0 replies; 6+ messages in thread
From: Efraim Flashner @ 2023-01-19 13:33 UTC (permalink / raw)
  To: Gottfried; +Cc: Csepp, help-guix

[-- Attachment #1: Type: text/plain, Size: 2100 bytes --]

On Thu, Jan 19, 2023 at 01:07:53PM +0000, Gottfried wrote:
> Hi,
> 
> sorry for writing again,
> but I didn't manage to create my profile yet.
> ...............................................
> I did a:
> 
> guix package -i musescore -p Projekte/Musescore/guix-profil
> Das folgende Paket wird installiert(this package will be installed):
>    musescore 4.0
> .......................................................
> after that there was this message:
> Hinweis: Vielleicht möchten Sie die nötigen Umgebungsvariablen festlegen,
> indem Sie dies
> ausführen:
> 
>      GUIX_PROFILE="/home/gfp/Projekte/Musescore/guix-profil"
>      . "$GUIX_PROFILE/etc/profile"
> 
> Sie können sie auch mit `guix package --search-paths -p
> "/home/gfp/Projekte/Musescore/guix-profil"' nachlesen.(you can read in:)
> ................................................................
> I did that:
> GUIX_PROFILE="/home/gfp/Projekte/Musescore/guix-profil"
>      . "$GUIX_PROFILE/etc/profile"
> ..........................................................
> after that I did a:
> export GUIX_PROFILE=/Projekte/Musescore/guix-profil
                      ^
----------------------|

no leading slash here. Or it should be
export GUIX_PROFILE=~/Projekte/Musescore/guix-profil


> ....................................................
> after that I did a:
> source "${GUIX_PROFILE}/etc/profile"

Alternatively you can skip the above step and just do:
source /home/gfp/Projekte/Musescore/guix-profil/etc/profile

> ..................................................
> message was:
> -bash: /Projekte/Musescore/guix-profil/etc/profile: Datei oder Verzeichnis
> nicht gefunden (file or directory was not found)
> ........................................................
> 
> Where was my mistake?
> 
> 
> 
> Kind regards
> 
> Gottfried
> 
> 






-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-19 13:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16 17:16 creating a profile with Musescore 4 Gottfried
2023-01-16 18:50 ` Csepp
2023-01-17 16:43   ` Gottfried
2023-01-18 11:04     ` Efraim Flashner
2023-01-19 13:07       ` Gottfried
2023-01-19 13:33         ` Efraim Flashner

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).