guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: opencc: Fix build.


From: guix-commits
Subject: 03/04: gnu: opencc: Fix build.
Date: Mon, 6 Sep 2021 04:19:15 -0400 (EDT)

glv pushed a commit to branch core-updates-frozen
in repository guix.

commit df1f031d146357123219416b9fa81c51c9032246
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sun Sep 5 17:35:53 2021 +0000

    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>
---
 gnu/packages/textutils.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index bbad8ce..c86cfd7 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]