summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2021-05-25 15:22:24 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-06-04 13:34:42 +0200
commitf5f78d0d0227e80d00cafa1861a8a72a180de074 (patch)
tree4b4822501f124e9449fc7f4f8b3b295ff7e5cd1a
parent8190f5bb97be4696b7ab6a88ff8397d5a28299e8 (diff)
downloadguix-f5f78d0d0227e80d00cafa1861a8a72a180de074.tar.gz
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>
-rw-r--r--gnu/packages/smalltalk.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/smalltalk.scm b/gnu/packages/smalltalk.scm
index ea1798ac13..a572570b13 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"))))