me
/
guix
Archived
1
0
Fork 0

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>
master
Maxime Devos 2021-05-25 15:58:33 +02:00 committed by Mathieu Othacehe
parent 156b8f9cd2
commit 4a600ada5a
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 2 additions and 3 deletions

View File

@ -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")