guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python2-setproctitle: Fix build.


From: guix-commits
Subject: branch master updated: gnu: python2-setproctitle: Fix build.
Date: Thu, 30 Jul 2020 06:10:03 -0400

This is an automated email from the git hooks/post-receive script.

nckx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 39386de  gnu: python2-setproctitle: Fix build.
39386de is described below

commit 39386de24439c81f1a7c683ae8c5dd1c5f24e09e
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Thu Jul 30 09:32:18 2020 +0200

    gnu: python2-setproctitle: Fix build.
    
    * gnu/packages/python-xyz.scm (python2-setproctitle): Don't pass ‘--embed’
    to python-config.
    
    Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0b33fb3..a5c2e60 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13529,9 +13529,9 @@ English stemmer.")
          (replace 'check
            (lambda _
              (setenv "PYTHON" (or (which "python3") (which "python")))
-             (setenv "PYCONFIG" (string-append (or (which "python3-config")
-                                                   (which "python-config"))
-                                               " --embed"))
+             (setenv "PYCONFIG" (if (which "python3-config")
+                                    "python3-config --embed"
+                                    "python-config"))
              (setenv "CC" "gcc")
              ;; No need to extend PYTHONPATH to find the built package, since
              ;; the Makefile will build anyway



reply via email to

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