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>
This commit is contained in:
parent
8190f5bb97
commit
f5f78d0d02
@ -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"))))
|
||||
|
Loading…
Reference in New Issue
Block a user