me
/
guix
Archived
1
0
Fork 0

gnu: python-cffi: Remove input labels.

* gnu/packages/libffi.scm (python-cffi)[arguments]: Use SEARCH-INPUT-FILE
instead of labels.
master
Marius Bakke 2022-07-14 03:00:58 +02:00
parent 32b7e12e77
commit 97e2983310
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 3 deletions

View File

@ -118,9 +118,8 @@ conversions for values passed between the two languages.")
;; using find_library or the like with their name fail when the
;; resolved .so object is a linker script rather than an ELF
;; binary (this is a limitation of the ctype library of Python).
(let* ((glibc (assoc-ref inputs "libc"))
(libm (string-append glibc "/lib/libm.so.6"))
(libc (string-append glibc "/lib/libc.so.6")))
(let ((libm (search-input-file inputs "lib/libm.so.6"))
(libc (search-input-file inputs "lib/libc.so.6")))
(substitute* '("testing/cffi0/test_function.py"
"testing/cffi0/test_parsing.py"
"testing/cffi0/test_unicode_literals.py"