mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
gnu: solfege: Fix runtime error.
This fixes <https://issues.guix.gnu.org/75623>. * gnu/packages/music.scm (solfege)[inputs]: Add python-pycairo. [propagated-inputs]: Add timidity++. [arguments]<wrap-program>: Wrap solfege with GI_TYPELIB_PATH. Change-Id: I30b38cec5ded514b35aeccd3e2fb0f94b96308d9
This commit is contained in:
parent
ff4d0a129d
commit
cd12fa4e20
1 changed files with 7 additions and 2 deletions
|
@ -2253,16 +2253,21 @@ (define-public solfege
|
|||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Make sure 'solfege' runs with the correct PYTHONPATH.
|
||||
(let ((path (getenv "GUIX_PYTHONPATH")))
|
||||
(let ((python-path (getenv "GUIX_PYTHONPATH"))
|
||||
(typelib-path (getenv "GI_TYPELIB_PATH")))
|
||||
(wrap-program (search-input-file outputs "bin/solfege")
|
||||
`("GUIX_PYTHONPATH" ":" prefix (,path)))))))))
|
||||
`("GUIX_PYTHONPATH" ":" prefix (,python-path))
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,typelib-path)))))))))
|
||||
(inputs
|
||||
(list bash-minimal
|
||||
python-wrapper
|
||||
python-pycairo
|
||||
python-pygobject
|
||||
gettext-minimal
|
||||
gtk+
|
||||
lilypond))
|
||||
(propagated-inputs
|
||||
(list timidity++)) ; default player
|
||||
(native-inputs
|
||||
(list autoconf
|
||||
automake
|
||||
|
|
Loading…
Reference in a new issue