gnu: yt-dlp: Don't ask to run tests when cross-compiling.

* gnu/packages/video.scm
(yt-dlp)[arguments]{#:tests?}: When cross-compiling, set to #false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Maxime Devos 2022-08-28 16:47:48 +02:00 committed by Mathieu Othacehe
parent f60653a0ef
commit 01df491f6d
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -2500,7 +2500,7 @@ (define-public yt-dlp
(base32 "07qz1zdndlpki0asw35zk5hdjcwpl3n1g54nxg4yb1iykbyv7rll"))))
(arguments
(substitute-keyword-arguments (package-arguments youtube-dl)
((#:tests? _) #t)
((#:tests? _) (not (%current-target-system)))
((#:phases phases)
#~(modify-phases #$phases
;; See the comment for the corresponding phase in youtube-dl.