gnu: gdk-pixbuf: Use target predicates.

This seems a little tidier to me.

* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]<#:phases>{check}: Use
  target-arm? instead of string=?.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2021-10-01 16:21:22 +02:00 committed by Mathieu Othacehe
parent 1f7cf5834c
commit 744bfc61da
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -643,8 +643,7 @@ (define-public gdk-pixbuf
""))
#t))
;; The slow tests take longer than the specified timeout.
,@(if (any (cute string=? <> (%current-system))
'("armhf-linux" "aarch64-linux"))
,@(if (target-arm? (%current-system))
'((replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?