[Top][All Lists]

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

02/08: gnu: python-cffi: Remove input labels.

From: guix-commits
Subject: 02/08: gnu: python-cffi: Remove input labels.
Date: Sat, 16 Jul 2022 14:27:22 -0400 (EDT)

mbakke pushed a commit to branch staging
in repository guix.

commit 97e298331022a21934b4b619aa813e9a34ee118d
Author: Marius Bakke <>
AuthorDate: Thu Jul 14 03:00:58 2022 +0200

    gnu: python-cffi: Remove input labels.
    * gnu/packages/libffi.scm (python-cffi)[arguments]: Use SEARCH-INPUT-FILE
    instead of labels.
 gnu/packages/libffi.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/libffi.scm b/gnu/packages/libffi.scm
index c37baaf056..f09a43db37 100644
--- a/gnu/packages/libffi.scm
+++ b/gnu/packages/libffi.scm
@@ -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/"))
-                    (libc (string-append glibc "/lib/")))
+             (let ((libm (search-input-file inputs "lib/"))
+                   (libc (search-input-file inputs "lib/")))
                (substitute* '("testing/cffi0/"

reply via email to

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