[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"))))
- branch master updated (a9afff4 -> f50a88c), guix-commits, 2021/06/04
- 02/07: gnu: smalltalk: Use 'inputs' in phases instead of '%build-inputs'.,
guix-commits <=
- 01/07: gnu: ci: Use 'inputs' in build phases instead of '%build-inputs'., guix-commits, 2021/06/04
- 06/07: gnu: smalltalk: Move 'zip' from 'inputs' to 'native-inputs'., guix-commits, 2021/06/04
- 03/07: gnu: neovim: Use 'inputs' in phases instead of '%build-inputs'., guix-commits, 2021/06/04
- 05/07: gnu: ding: Use 'inputs' in build phases instead of '%build-inputs'., guix-commits, 2021/06/04
- 04/07: gnu: qemacs: Use 'native-inputs' instead of '%build-inputs'., guix-commits, 2021/06/04
- 07/07: gnu: smalltalk: Find glibc even when cross-compiling., guix-commits, 2021/06/04