[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: toxic: Fix build with Python 3.8.
From: |
guix-commits |
Subject: |
branch master updated: gnu: toxic: Fix build with Python 3.8. |
Date: |
Sat, 09 May 2020 08:58:10 -0400 |
This is an automated email from the git hooks/post-receive script.
mbakke pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 93600aa gnu: toxic: Fix build with Python 3.8.
93600aa is described below
commit 93600aae801dbd58192e5aa65b36f57255191d0d
Author: Marius Bakke <address@hidden>
AuthorDate: Sat May 9 14:58:00 2020 +0200
gnu: toxic: Fix build with Python 3.8.
* gnu/packages/messaging.scm (toxic)[arguments]: Add substitution in the
enable-python-scripting phase.
---
gnu/packages/messaging.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 1930eb6..46242f2 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2019, 2020 Timotej Lazar <address@hidden>
;;; Copyright © 2020 Nicolò Balzarotti <address@hidden>
;;; Copyright © 2020 Vincent Legoll <address@hidden>
+;;; Copyright © 2020 Marius Bakke <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1768,6 +1769,12 @@ building the IRC clients and bots.")
(delete 'configure)
(add-before 'build 'enable-python-scripting
(lambda _
+ ;; XXX: For compatibility with Python 3.8, adjust python3-config
+ ;; invokation to include --embed; see
+ ;; <https://github.com/JFreegman/toxic/issues/533>.
+ (substitute* "cfg/checks/python.mk"
+ (("python3-config --ldflags")
+ "python3-config --ldflags --embed"))
(setenv "ENABLE_PYTHON" "1")
#t)))))
(inputs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: toxic: Fix build with Python 3.8.,
guix-commits <=