George Hu pushed to branch main at Arch Linux / Packaging / Packages / yazi
Commits: bceb3839 by George Hu at 2026-02-19T21:28:41+08:00 Disable vendored Lua in workspace members Patch Cargo.toml files in workspace members to remove the default `vendored-lua` feature. Cargo does not provide an option to disable features for all workspace members. Upstream issue: https://github.com/rust-lang/cargo/issues/14866 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -9,6 +9,7 @@ pkgbase = yazi makedepends = imagemagick depends = gcc-libs depends = ttf-nerd-fonts-symbols + depends = lua optdepends = ffmpeg: for video thumbnails optdepends = 7zip: for archive extraction and preview optdepends = jq: for JSON preview ===================================== PKGBUILD ===================================== @@ -10,7 +10,7 @@ pkgdesc="Blazing fast terminal file manager written in Rust, based on async I/O" url="https://github.com/sxyazi/yazi" arch=("x86_64") license=('MIT') -depends=('gcc-libs' 'ttf-nerd-fonts-symbols') +depends=('gcc-libs' 'ttf-nerd-fonts-symbols' 'lua') optdepends=( 'ffmpeg: for video thumbnails' '7zip: for archive extraction and preview' @@ -35,6 +35,11 @@ options=('!lto') prepare() { cd "$pkgname-$pkgver" + + # Cargo does not provide an option to disable features for all workspace members + # Upstream issue: https://github.com/rust-lang/cargo/issues/14866 + sed -i '/"vendored-lua"/d' yazi-{actor,binding,dds,fm,parser,plugin}/Cargo.toml + cargo fetch --locked --target host-tuple } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/yazi/-/commit/bceb383919b3958c5cd71a781608c63d2c2eb6e5 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/yazi/-/commit/bceb383919b3958c5cd71a781608c63d2c2eb6e5 You're receiving this email because of your account on gitlab.archlinux.org.
