This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 23e58b7194 gnu: yt-dlp: Fix non-x86 build.
23e58b7194 is described below

commit 23e58b71946d4337e0aebba1746b8f364688420b
Author: Remco van 't Veer <[email protected]>
AuthorDate: Sun Sep 28 12:21:46 2025 +0200

    gnu: yt-dlp: Fix non-x86 build.
    
    The `search-input-file` procedure raises an error when file is not
    available, `which` returns #f when executable is not available.
    
    * gnu/packages/video.scm (yt-dlp): Fix non-x86 build.
    [arguments] <#:phases>: Use which to check for pandoc.
    
    Change-Id: I2c7bba7500defc31e69f6d7144ff1020505e4d43
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/video.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 991c4b4741..f0f23e6f8d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -74,6 +74,7 @@
 ;;; Copyright © 2025 Sharlatan Hellseher <[email protected]>
 ;;; Copyright © 2025 VnPower <[email protected]>
 ;;; Copyright © 2025 Zhu Zihao <[email protected]>
+;;; Copyright © 2025 Remco van 't Veer <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3172,7 +3173,7 @@ video streaming services of the Finnish national 
broadcasting company Yle.")
                   "'\n")))))
           (add-before 'build 'build-generated-files
             (lambda* (#:key inputs #:allow-other-keys)
-              (if (search-input-file inputs "bin/pandoc")
+              (if (which "pandoc")
                   (invoke "make"
                           "PYTHON=python"
                           "yt-dlp"

Reply via email to