From 6162b2c51b3e2f084c3a536fd4f4cabbdca89d59 Mon Sep 17 00:00:00 2001 From: Maxime Devos Date: Tue, 25 May 2021 15:58:33 +0200 Subject: [PATCH 5/7] 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'. --- 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 c4c377580c..db99f9d32f 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") -- 2.31.1