This is an automated email from the git hooks/post-receive script.

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

The following commit(s) were added to refs/heads/wip-hurd-vm by this push:
     new f74fe63  gnu: texinfo: Cross-build fix: Use host perl in host scripts.
f74fe63 is described below

commit f74fe63fdd3f3f4880675e2cf756bf5a30ce549e
Author: Jan (janneke) Nieuwenhuizen <[email protected]>
AuthorDate: Sun Apr 19 12:06:46 2020 +0200

    gnu: texinfo: Cross-build fix: Use host perl in host scripts.
    
    * gnu/packages/texinfo.scm (texinfo)[inputs]: When cross-compiling, add 
perl.
    This makes the host texi2any (makeinfo) refer to the correct perl.
---
 gnu/packages/texinfo.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 7457d99..e9d4a6f 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2019 Pierre-Moana Levesque <[email protected]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2020 Nicolas Goaziou <[email protected]>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -68,7 +69,10 @@
                     "env "))
                  #t))))
          '()))
-    (inputs `(("ncurses" ,ncurses)))
+    (inputs `(("ncurses" ,ncurses)
+              ,@(if (%current-target-system)
+                    `(("perl" ,perl))
+                    '())))
     ;; When cross-compiling, texinfo will build some of its own binaries with
     ;; the native compiler. This means ncurses is needed both in both inputs
     ;; and native-inputs.

Reply via email to