gnu: xmlto: Rewrite with G-Expressions.

* gnu/packages/xml.scm (xmlto)[arguments]: Rewrite with G-Expressions.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Bruno Victal 2023-10-09 21:06:11 +01:00 committed by Ludovic Courtès
parent 7722ca5f41
commit 3fab3a6439
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1144,10 +1144,11 @@ (define-public xmlto
(build-system gnu-build-system)
(arguments
;; Make sure the reference to util-linux's 'getopt' is kept in 'xmlto'.
'(#:configure-flags (list (string-append "GETOPT="
(assoc-ref %build-inputs
"util-linux")
"/bin/getopt"))))
(list
#:configure-flags
#~(list (string-append "GETOPT="
#$(this-package-input "util-linux")
"/bin/getopt"))))
(native-inputs
(list util-linux))
(inputs