guix-patches
[Top][All Lists]
Advanced

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

[bug#36477] [PATCH 24/31] gnu: xmlto: Fix cross-compilation.


From: Marius Bakke
Subject: [bug#36477] [PATCH 24/31] gnu: xmlto: Fix cross-compilation.
Date: Mon, 08 Jul 2019 20:18:50 +0200
User-agent: Notmuch/0.29.1 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu)

Mathieu Othacehe <address@hidden> writes:

> * gnu/packages/xml.scm (xmlto)[inputs]: Move util-linux from here ...
> [native-inputs]: ... to here.

[...]

> diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
> index 5fefa2c1dc..5239070b1c 100644
> --- a/gnu/packages/xml.scm
> +++ b/gnu/packages/xml.scm
> @@ -915,9 +915,10 @@ code for classes that correspond to data structures 
> defined by XMLSchema.")
>                                                (assoc-ref %build-inputs
>                                                           "util-linux")
>                                                "/bin/getopt"))))
> +    (native-inputs
> +     `(("util-linux" ,util-linux)))               ; for 'getopt'

The comments above this hunk suggest that util-linux must be a regular
input, since xmlto apparently needs getopt at run time.

So I suppose we need util-linux both as a native and regular input?

Attachment: signature.asc
Description: PGP signature


reply via email to

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