mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-01 18:05:17 +00:00
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 <efraim@flashner.co.il>
This commit is contained in:
parent
686aaca898
commit
23e58b7194
1 changed files with 2 additions and 1 deletions
|
@ -74,6 +74,7 @@
|
|||
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.ccom>
|
||||
;;; Copyright © 2025 VnPower <vnpower@loang.net>
|
||||
;;; Copyright © 2025 Zhu Zihao <all_but_last@163.com>
|
||||
;;; Copyright © 2025 Remco van 't Veer <remco@remworks.net>
|
||||
;;;
|
||||
;;; 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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue