mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: opencc: Fix build.
* gnu/packages/textutils.scm (opencc)[arguments]: Create PYTHONPATH from GUIX_PYTHONPATH as the former is not defined. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
parent
86af6091d8
commit
df1f031d14
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
|||
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||
;;; Copyright © 2021 Jean-Baptiste Volatier <jbv@pm.me>
|
||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1210,7 +1211,7 @@ (define-public opencc
|
|||
(chdir "python")
|
||||
(mkdir-p dist)
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append dist ":" (getenv "PYTHONPATH")))
|
||||
(string-append dist ":" (getenv "GUIX_PYTHONPATH")))
|
||||
(invoke "python" "setup.py" "install"
|
||||
"--root=/" "--single-version-externally-managed"
|
||||
(string-append "--prefix=" out))
|
||||
|
|
Loading…
Reference in a new issue