gnu: gettext: Work around Gnulib test failures on armhf-linux.

* gnu/packages/gettext.scm (gettext-minimal)[arguments]: In
'patch-tests' phase, conditionally apply "coreutils-gnulib-tests.patch"
on ARMv7.
This commit is contained in:
Ludovic Courtès 2022-01-06 16:26:09 +01:00
parent 495ac045a3
commit a21590dabf
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 9 additions and 0 deletions

View File

@ -111,6 +111,15 @@
(("/bin/pwd")
"pwd"))
;; Work around Gnulib test failures on armhf-linux.
#$@(if (target-arm32?)
#~((with-directory-excursion "gettext-tools"
(invoke "patch" "--force" "-p1" "-i"
#$(local-file
(search-patch
"coreutils-gnulib-tests.patch")))))
'())
#t)))))
;; When tests fail, we want to know the details.