From df1f031d146357123219416b9fa81c51c9032246 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sun, 5 Sep 2021 17:35:53 +0000 Subject: 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 --- gnu/packages/textutils.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu') 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 ;;; Copyright © 2021 Jean-Baptiste Volatier ;;; Copyright © 2021 Simon Tournier +;;; Copyright © 2021 Felix Gruber ;;; ;;; 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)) -- cgit 1.4.1