guix-commits
[Top][All Lists]
Advanced

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

02/15: gnu: python-libxml2: Fix build failure.


From: guix-commits
Subject: 02/15: gnu: python-libxml2: Fix build failure.
Date: Mon, 27 Jun 2022 17:50:01 -0400 (EDT)

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

commit a83c462752649b058bef00bd3207451048f7d75e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 27 20:34:33 2022 +0200

    gnu: python-libxml2: Fix build failure.
    
    This is a follow-up to commit 7dfa2ff7804b4d4ffb4c256c5aaea92b2487b369.
    
    * gnu/packages/xml.scm (python-libxml2)[arguments]: Provide correct 
directory
    for libxml2 headers.
---
 gnu/packages/xml.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 5ce2b140a7..9435e21d92 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -316,12 +316,9 @@ formulas and hyperlinks to multiple worksheets in an Excel 
2007+ XLSX file.")
                                                   "cross-libc" "libc")))
                   (libxml2 (assoc-ref inputs "libxml2")))
               (substitute* "setup.py"
-                ;; For 'libxml2/libxml/tree.h'.
-                (("ROOT = r'/usr'")
-                 (format #f "ROOT = r'~a'" libxml2))
-                ;; For 'iconv.h'.
+                ;; For libxml2 headers.
                 (("/opt/include")
-                 (string-append glibc "/include")))))))))
+                 (string-append libxml2 "/include")))))))))
     (inputs `(("libxml2" ,libxml2)))
     (synopsis "Python bindings for the libxml2 library")))
 



reply via email to

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