guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 15/15: gnu: yt-dlp: Don't ask to run tests when cross-compiling.
Date: Tue, 30 Aug 2022 03:02:13 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 01df491f6db552dca22c00d3bd452d5a7eacb46a
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 16:47:48 2022 +0200

    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>
---
 gnu/packages/video.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 556eb46df4..28eb4aada4 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2500,7 +2500,7 @@ YouTube.com and many more sites.")
         (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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]