diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm index 0273a599ea..604d05e1ea 100644 --- a/gnu/packages/xml.scm +++ b/gnu/packages/xml.scm @@ -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