guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: ding: Use 'inputs' in build phases instead of '%build-inputs


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

mothacehe pushed a commit to branch master
in repository guix.

commit 4a600ada5a79fbf3c04011452593d2ee62d50a27
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue May 25 15:58:33 2021 +0200

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

diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm
index 30995bf..2b1f7f0 100644
--- a/gnu/packages/dictionaries.scm
+++ b/gnu/packages/dictionaries.scm
@@ -175,11 +175,10 @@ work, such as sentence length and other readability 
measures.")
          (delete 'build)
          (delete 'check)
          (replace 'install
-           (lambda _
+           (lambda* (#:key inputs #:allow-other-keys)
              (let ((bindir (string-append
                             (assoc-ref %outputs "out") "/bin"))
-                   (wish (string-append
-                          (assoc-ref %build-inputs "tk")
+                   (wish (string-append (assoc-ref inputs "tk")
                           "/bin/wish8.6"))
                    (sharedir (string-append
                               (assoc-ref %outputs "out")



reply via email to

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