gnu: texinfo, info-reader: Do not run tests when cross-compiling.

Fixes a regression introduced in
a3264f31df.

Reported by Mathieu Othacehe <othacehe@gnu.org>.

* gnu/packages/texinfo.scm (texinfo)[arguments]: Change #:tests? to not
run tests when cross-compiling.
This commit is contained in:
Ludovic Courtès 2022-12-06 15:21:21 +01:00
parent 9ad14196ce
commit fe563a87ad
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -75,7 +75,8 @@ (define-public texinfo
%standard-phases)
;; XXX: Work around <https://issues.guix.gnu.org/59616>.
#:tests? ,(not (hurd-target?))))
#:tests? ,(and (not (hurd-target?))
(not (%current-target-system)))))
(inputs (list ncurses 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