mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-libxml2: Fix build failure.
This is a follow-up to commit 7dfa2ff780
.
* gnu/packages/xml.scm (python-libxml2)[arguments]: Provide correct directory
for libxml2 headers.
This commit is contained in:
parent
6ee0f40e83
commit
a83c462752
1 changed files with 2 additions and 5 deletions
|
@ -316,12 +316,9 @@ formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.")
|
||||||
"cross-libc" "libc")))
|
"cross-libc" "libc")))
|
||||||
(libxml2 (assoc-ref inputs "libxml2")))
|
(libxml2 (assoc-ref inputs "libxml2")))
|
||||||
(substitute* "setup.py"
|
(substitute* "setup.py"
|
||||||
;; For 'libxml2/libxml/tree.h'.
|
;; For libxml2 headers.
|
||||||
(("ROOT = r'/usr'")
|
|
||||||
(format #f "ROOT = r'~a'" libxml2))
|
|
||||||
;; For 'iconv.h'.
|
|
||||||
(("/opt/include")
|
(("/opt/include")
|
||||||
(string-append glibc "/include")))))))))
|
(string-append libxml2 "/include")))))))))
|
||||||
(inputs `(("libxml2" ,libxml2)))
|
(inputs `(("libxml2" ,libxml2)))
|
||||||
(synopsis "Python bindings for the libxml2 library")))
|
(synopsis "Python bindings for the libxml2 library")))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue