summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix Gruber <felgru@posteo.net>2021-09-05 17:35:53 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2021-09-06 09:49:56 +0200
commitdf1f031d146357123219416b9fa81c51c9032246 (patch)
tree5aa1dedc9c9699cae6a082881537e9d36fbabc22
parent86af6091d8ca1cc69ac12267d51544d50268e146 (diff)
downloadguix-df1f031d146357123219416b9fa81c51c9032246.tar.gz
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>
-rw-r--r--gnu/packages/textutils.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index bbad8ce867..c86cfd7de1 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -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 @@ OpenDocument presentations (*.odp).")
                (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))