gnu: util-linux: Disable tests when building on i586-gnu.

Works around <https://bugs.gnu.org/47791>
Reported by Maxime Devos <maximedevos@telenet.be>.

* gnu/packages/linux.scm (util-linux)[arguments]: Pass #:tests?.
This commit is contained in:
Ludovic Courtès 2021-04-17 22:46:34 +02:00
parent 9d21858e92
commit 84feaca488
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

@ -1600,6 +1600,12 @@ providing the system administrator with some help in common tasks.")
(string-append "--with-bashcompletiondir="
(assoc-ref %outputs "out")
"/etc/bash_completion.d"))
;; FIXME: For now we cannot reliably run tests on GNU/Hurd:
;; <https://bugs.gnu.org/47791>.
#:tests? ,(and (not (%current-target-system))
(not (string-suffix? "-gnu" (%current-system))))
#:phases (modify-phases %standard-phases
(add-before 'configure 'patch-build-scripts
(lambda* (#:key outputs #:allow-other-keys)