guix-patches
[Top][All Lists]
Advanced

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

[bug#57462] [PATCH 15/15] gnu: yt-dlp: Don't ask to run tests when cross


From: Maxime Devos
Subject: [bug#57462] [PATCH 15/15] gnu: yt-dlp: Don't ask to run tests when cross-compiling.
Date: Sun, 28 Aug 2022 16:47:48 +0200

* gnu/packages/video.scm
(yt-dlp)[arguments]{#:tests?}: When cross-compiling, set to #false.
---
 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 7f451a8925..f744f04322 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2495,7 +2495,7 @@ (define-public yt-dlp
                                           "completions/zsh/_yt-dlp"))))))
     (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.
-- 
2.37.1






reply via email to

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