From abf09cae5639ee103368d3214f19f84cfb9ff656 Mon Sep 17 00:00:00 2001 From: Sergio Date: Fri, 28 Aug 2026 21:33:34 +0000 Subject: [PATCH] =?UTF-8?q?wasm-pack:=20a=C3=B1adir=20`xz`=20y=20`bzip2`?= =?UTF-8?q?=20a=20[deps]=20=E2=80=94=20sys-crates=20de=20compresi=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `unable to find static system library 'lzma'` y `… 'bz2'` en el link, a los 316 s. La receta no tenía `[deps]`. Decimocuarta de la familia. --- recipes/wasm-pack.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/wasm-pack.toml b/recipes/wasm-pack.toml index 5769f1a9..c588487d 100644 --- a/recipes/wasm-pack.toml +++ b/recipes/wasm-pack.toml @@ -21,3 +21,9 @@ install = "mkdir -p /out/usr/bin && cp target/release/wasm-pack /out/usr/bin/was # buildInputs de nix (NO deps de hammer — cargo vendorea; backend Rust por # defecto). Si algún sys-crate C falla, adaptá per-paquete (patch/feature): cmake, zstd + +# `xz` (liblzma) y `bzip2` (libbz2) las exigen sys-crates de compresión, no el Cargo.toml: sin ellas +# el link muere con `unable to find static system library 'lzma'` y `… 'bz2'`. La receta no tenía +# `[deps]`. Decimocuarta de la familia. +[deps] +build = ["xz", "bzip2"]