unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Gottfried <gottfried@posteo.de>
Cc: Csepp <raingloom@riseup.net>, help-guix@gnu.org
Subject: Re: creating a profile with Musescore 4
Date: Wed, 18 Jan 2023 13:04:08 +0200	[thread overview]
Message-ID: <Y8fSKF9YiI48YmgN@3900XT> (raw)
In-Reply-To: <26afbe12-afbb-b784-a72c-7299e725fb00@posteo.de>

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

  reply	other threads:[~2023-01-18 11:05 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
2023-01-18 11:04     ` Efraim Flashner [this message]
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=Y8fSKF9YiI48YmgN@3900XT \
    --to=efraim@flashner.co.il \
    --cc=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).