unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Skyler <skyvine@protonmail.com>
To: Martin Castillo <castilma@uni-bremen.de>
Cc: Gottfried <gottfried@posteo.de>,
	help-guix@gnu.org, Wojtek Kosior <koszko@koszko.org>
Subject: Re: 2 Profiles with 2 different version of Musescore
Date: Sat, 29 Apr 2023 16:18:26 +0000	[thread overview]
Message-ID: <DXMlqO6ayZRhIWz7fXWK8U6ddt8hr5XxsLVvec1lDehOQ75jjgXj-T-ZfuoMqAydKlEkyevsxgMLJ487MRh6HaFYGFzyuD0DIkcNrn12Uco=@protonmail.com> (raw)
In-Reply-To: <2c6b7e86-dcd8-8dc3-9a1f-c33a1ae7bd9c@uni-bremen.de>

In order to avoid manually updating the alias each time the package is upgraded, you can use a declaration in guix home:

(home-environemnt
  (services (list
    (service home-bash-service-type
      (home-bash-configuration (guix-defaults? #t)
                               (aliases `(("mscore4" . ,(file-append musescore "/bin/mscore")))))))))

If you do not wish to use guix home, you could also use the extra-special-file service in your system configuration:

(extra-special-file "/usr/bin/mscore4" (file-append musescore "/bin/mscore"))

Just make sure /usr/bin is in your $PATH.


  reply	other threads:[~2023-05-01 13:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-28 15:07 2 Profiles with 2 different version of Musescore Gottfried
2023-04-29 13:48 ` Martin Castillo
2023-04-29 16:18   ` Skyler [this message]
2023-04-29 21:25     ` Martin Castillo
2023-05-01 10:16   ` Gottfried

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='DXMlqO6ayZRhIWz7fXWK8U6ddt8hr5XxsLVvec1lDehOQ75jjgXj-T-ZfuoMqAydKlEkyevsxgMLJ487MRh6HaFYGFzyuD0DIkcNrn12Uco=@protonmail.com' \
    --to=skyvine@protonmail.com \
    --cc=castilma@uni-bremen.de \
    --cc=gottfried@posteo.de \
    --cc=help-guix@gnu.org \
    --cc=koszko@koszko.org \
    /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).