help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2 Profiles with 2 different version of Musescore


From: Skyler
Subject: Re: 2 Profiles with 2 different version of Musescore
Date: Sat, 29 Apr 2023 16:18:26 +0000

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 via email to

[Prev in Thread] Current Thread [Next in Thread]