mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: brltty: Fix python package install.
The python package is not being installed properly due to install directory not being in PYTHONPATH. * gnu/packages/accessibility.scm (brltty)[phases]: Add set-pythonpath-phase. [modules, imported-modules]: Add (guix build python-build-system). Change-Id: Ia9a24f872d82c3e582413eb1d9fc4df3e0979916 Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
6d3c414f11
commit
ce302c99bd
1 changed files with 9 additions and 1 deletions
|
@ -129,6 +129,11 @@ (define-public brltty
|
|||
"PYTHON_ROOT=/"
|
||||
(string-append "TCL_DIR=" #$output "/lib")
|
||||
"INSTALL_WRITABLE_DIRECTORY=no-thanks")
|
||||
#:imported-modules `((guix build python-build-system)
|
||||
,@%glib-or-gtk-build-system-modules)
|
||||
#:modules '((guix build utils)
|
||||
(guix build glib-or-gtk-build-system)
|
||||
((guix build python-build-system) #:prefix python:))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-errors
|
||||
|
@ -142,7 +147,10 @@ (define-public brltty
|
|||
(string-append "extra_link_args = ['-Wl,-rpath="
|
||||
#$output
|
||||
"/lib'], "
|
||||
"extra_compile_args = "))))))))
|
||||
"extra_compile_args = ")))))
|
||||
(add-before 'install 'set-pythonpath
|
||||
(assoc-ref python:%standard-phases
|
||||
'add-install-to-pythonpath)))))
|
||||
(native-inputs
|
||||
(list clisp
|
||||
python-cython
|
||||
|
|
Loading…
Reference in a new issue