guix-commits
[Top][All Lists]
Advanced

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

02/07: gnu: smalltalk: Use 'inputs' in phases instead of '%build-inputs'


From: guix-commits
Subject: 02/07: gnu: smalltalk: Use 'inputs' in phases instead of '%build-inputs'.
Date: Fri, 4 Jun 2021 07:45:49 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit f5f78d0d0227e80d00cafa1861a8a72a180de074
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue May 25 15:22:24 2021 +0200

    gnu: smalltalk: Use 'inputs' in phases instead of '%build-inputs'.
    
    In build phases, the former is preferred.
    
    * gnu/packages/smalltalk.scm
      (smalltalk)[arguments]<#:phases>{fix-libc}: Use 'inputs'
      argument instead of '%build-inputs'.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/smalltalk.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm
index ea1798a..a572570 100644
--- a/gnu/packages/smalltalk.scm
+++ b/gnu/packages/smalltalk.scm
@@ -102,8 +102,8 @@
                        (find-files "doc" "\\.info"))
              #t))
          (add-before 'configure 'fix-libc
-           (lambda _
-             (let ((libc (assoc-ref %build-inputs "libc")))
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((libc (assoc-ref inputs "libc")))
                (substitute* "libc.la.in"
                  (("@LIBC_SO_NAME@") "libc.so")
                  (("@LIBC_SO_DIR@")  (string-append libc "/lib"))))



reply via email to

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