Etapa G: recarga la cola — tanda Rust #3 importada (28 staged para la próxima granja)

import-batch sobre tandas/cli-rust-3.txt (30 entradas) -> 27/30 importadas en ~2min
(nix=25, alpine=2; fallaron yazi/rip/lln por src no-clasificable). pin ancló 24
tag->SHA. Dedup de 5 ya-en-corpus. Cola = 28 recetas listas (incl. helix/nushell/
gitoxide/ruff/uv/mdbook/jaq/bacon/... + los 6 staged previos). Aplica la lección:
el import recarga en minutos; el build es trabajo de granja (build-farm.sh, paciencia
con los binarios grandes — no son deadlocks).
This commit is contained in:
2026-06-21 17:16:03 -04:00
parent edda3a742a
commit 078a4a0d7d
25 changed files with 594 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "bacon"
version = "3.23.0"
[source]
repo = "https://github.com/Canop/bacon"
commit = "5714d016e03dde3b155ff156933eed935499cdb6"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "bacon"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/bacon /out/usr/bin/bacon"
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "biome"
version = "2.4.16"
[source]
repo = "https://github.com/biomejs/biome"
commit = "5f4ea56b1dfb00d839af218e3c6484154073a7eb"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "biome"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/biome /out/usr/bin/biome"
# 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): git-minimal, libgit2, jemalloc, zlib
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "cargo-nextest"
version = "0.9.137"
[source]
repo = "https://github.com/nextest-rs/nextest"
commit = "75ddba7e911b44c5c0700dac0415d824403de9bd"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "cargo-nextest"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/cargo-nextest /out/usr/bin/cargo-nextest"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "cargo-watch"
version = "8.5.3"
[source]
repo = "https://github.com/watchexec/cargo-watch"
commit = "58e792b99fade3b0c0ad198fd9627dcd4817eb37"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "cargo-watch"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/cargo-watch /out/usr/bin/cargo-watch"
+16
View File
@@ -0,0 +1,16 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "apache-felix"
version = "7.0.5"
[source]
tarball = "https://dlcdn.apache.org/felix/org.apache.felix.main.distribution-7.0.5.tar.gz"
sha256 = "37d99b908ccc90c57644b38dbf5e448a8b09c4c53d88426fc0f5846ae3c811ef"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = []
@@ -0,0 +1,13 @@
diff --git a/languages.toml b/languages.toml
index a9f4a58..85389c5 100644
--- a/languages.toml
+++ b/languages.toml
@@ -808,7 +808,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "gotmpl"
-source = { git = "https://github.com/dannylongeuay/tree-sitter-go-template", rev = "395a33e08e69f4155156f0b90138a6c86764c979" }
+source = { git = "https://github.com/ngalaiko/tree-sitter-go-template", rev = "ca26229bafcd3f37698a2496c2a5efa2f07e86bc" }
[[language]]
name = "gowork"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "fx"
version = "39.2.0"
[source]
repo = "https://github.com/antonmedv/fx"
commit = "c8fd8cf394083141ab912f604d332e1cfde830cb"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = []
[deps]
build = ["go"]
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "gitoxide"
version = "0.54.0"
[source]
repo = "https://github.com/GitoxideLabs/gitoxide"
commit = "10c58bb56597d9335611da121aac21f9b09b6e5b"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "gix"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/gix /out/usr/bin/gix"
# 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, curl, openssl
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "hck"
version = "0.11.6"
[source]
repo = "https://github.com/sstadick/hck"
commit = "e343425ecd8bada3a423139c305563a8d408c303"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "hck"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/hck /out/usr/bin/hck"
# 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
+52
View File
@@ -0,0 +1,52 @@
# Importada de Alpine aports por `hammer import-alpine` (Etapa G). PUNTO DE PARTIDA — pero
# YA trae los parches de musl de Alpine (lo que un import de nix pierde). Pendiente: el
# sha256 del tarball (el wrapper lo calcula), y adaptar build/install del shell de abuild.
name = "helix"
version = "25.07.1"
[source]
tarball = "https://github.com/helix-editor/helix/archive/25.07.1/helix-25.07.1.tar.gz"
# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
# sha512 = "a8f64782273d88cd43b1aeadf45d1fa6a913c9c0b77c1da716ffdc64ec02e89db1bfb2dde4333509c3ddb5733b8f5a450b44ca54d35f113c3c0f411c01f4ce8c"
sha256 = "27c8bc3eba46bc7bab1e3629c6b28ff94882eeff17366b3ea69cd8ceffba7541"
patches = ["fix-gotmpl-grammar-source.patch"]
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = []
[build.phases]
# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
compile = '''
_abuild_phase() {
# This path is embedded in the resulting binary so that helix can find
# system grammars
# https://github.com/helix-editor/helix/blob/25.01.1/helix-loader/src/lib.rs#L64
export HELIX_DEFAULT_RUNTIME=/usr/share/helix/runtime
cargo auditable build --frozen --release
}
_abuild_phase
'''
# de package() de Alpine (traducido $pkgdir→/out):
install = '''
_abuild_phase() {
install -D -m755 target/release/hx -t "/out"/usr/bin/
install -D -m644 contrib/completion/hx.bash "/out"/usr/share/bash-completion/completions/hx
install -D -m644 contrib/completion/hx.fish "/out"/usr/share/fish/vendor_completions.d/hx.fish
install -D -m644 contrib/completion/hx.zsh "/out"/usr/share/zsh/site-functions/_hx
install -D -m644 contrib/Helix.desktop -t "/out"/usr/share/applications/
install -D -m644 logo.svg "/out"/usr/share/icons/hicolor/scalable/apps/Helix.svg
install -d -m755 "/out"/usr/share/"helix"
rm runtime/grammars/.gitkeep
rm runtime/themes/README.md
rm -rf runtime/grammars/sources
cp -r runtime "/out"/usr/share/"helix"
}
_abuild_phase
'''
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "htmlq"
version = "0.4.0"
[source]
repo = "https://github.com/mgdm/htmlq"
commit = "1361c8c46811dd7b961c3fe9c6b04f9318a345e8"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "htmlq"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/htmlq /out/usr/bin/htmlq"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "jaq"
version = "3.1.0"
[source]
repo = "https://github.com/01mf02/jaq"
commit = "ebd9d94b182fb8a38b8d8eb1e57d1319889201b9"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "jaq"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/jaq /out/usr/bin/jaq"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "joshuto"
version = "0.9.9"
[source]
repo = "https://github.com/kamiyaa/joshuto"
commit = "b8f870fc328fc5c3f4e010683901a5082a6b0790"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "joshuto"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/joshuto /out/usr/bin/joshuto"
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "mdbook"
version = "0.5.2"
[source]
repo = "https://github.com/rust-lang/mdBook"
commit = "7b29f8a7174fa4b7b31536b84ee62e50a786658b"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "mdbook"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/mdbook /out/usr/bin/mdbook"
+45
View File
@@ -0,0 +1,45 @@
# Importada de Alpine aports por `hammer import-alpine` (Etapa G). PUNTO DE PARTIDA — pero
# YA trae los parches de musl de Alpine (lo que un import de nix pierde). Pendiente: el
# sha256 del tarball (el wrapper lo calcula), y adaptar build/install del shell de abuild.
name = "nushell"
version = "0.104.1"
[source]
tarball = "https://github.com/nushell/nushell/archive/0.104.1.tar.gz"
# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
# sha512 = "963efb959385d28839a1505111a3841c08cad7c1941c7c5a3dfc941d34cbd0d2a46d1602cd72f8b5920d86a03b2c157da9893f8ea2b25bbab81c12651a2e91c9"
sha256 = "3dafca8bf892f5a2afaac1122a88a7eb7f22a0b62ef901f550173a11d5cbdf6e"
patches = ["system-deps.patch"]
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = []
[build.phases]
# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
compile = '''
_abuild_phase() {
cargo auditable build --workspace --release --frozen $_exclude_opts
}
_abuild_phase
'''
# de package() de Alpine (traducido $pkgdir→/out):
install = '''
_abuild_phase() {
find target/release \
-maxdepth 1 \
-executable \
-type f \
-name "nu*" \
-exec install -Dm755 '{}' -t "/out"/usr/bin/ \;
install -Dm644 LICENSE \
-t "/out"/usr/share/licenses/nushell/
}
_abuild_phase
'''
[deps]
build = ["libgit2", "libssh2", "mimalloc2", "openssl", "sqlite"]
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "oxlint"
version = "1.69.0"
[source]
repo = "https://github.com/oxc-project/oxc"
commit = "44ae845fe19d3700128e50e7e61d98c7a85f3f47"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "oxlint"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/oxlint /out/usr/bin/oxlint"
# 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, nodejs, pnpm, jemalloc
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "ruff"
version = "0.15.17"
[source]
repo = "https://github.com/astral-sh/ruff"
commit = "7c645a9a1be8258b9f9e005208a55a0b7e8e18f0"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "ruff"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/ruff /out/usr/bin/ruff"
# 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): jemalloc
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "sccache"
version = "0.15.0"
[source]
repo = "https://github.com/mozilla/sccache"
commit = "c2e4b4ca035f91f8b63978afc8e2c71f174fe306"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "sccache"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/sccache /out/usr/bin/sccache"
# 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): openssl
+50
View File
@@ -0,0 +1,50 @@
diff --git a/Cargo.lock b/Cargo.lock
index dfa2b742f..b1e2d5683 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2994,7 +2994,6 @@ version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0c10584274047cb335c23d3e61bcef8e323adae7c5c8c760540f73610177fc3f"
dependencies = [
- "cc",
"pkg-config",
"vcpkg",
]
diff --git a/Cargo.toml b/Cargo.toml
index 650656d89..25b2882d4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -213,7 +213,7 @@ nu-protocol = { path = "./crates/nu-protocol", version = "0.104.1" }
nu-std = { path = "./crates/nu-std", version = "0.104.1" }
nu-system = { path = "./crates/nu-system", version = "0.104.1" }
nu-utils = { path = "./crates/nu-utils", version = "0.104.1" }
-reedline = { workspace = true, features = ["bashisms", "sqlite"] }
+reedline = { workspace = true, features = ["bashisms", "sqlite-dynlib"] }
crossterm = { workspace = true }
ctrlc = { workspace = true }
diff --git a/crates/nu-cli/Cargo.toml b/crates/nu-cli/Cargo.toml
index 607bc5af9..fd6b0b82b 100644
--- a/crates/nu-cli/Cargo.toml
+++ b/crates/nu-cli/Cargo.toml
@@ -29,7 +29,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.104.1", features = ["os"]
nu-utils = { path = "../nu-utils", version = "0.104.1" }
nu-color-config = { path = "../nu-color-config", version = "0.104.1" }
nu-ansi-term = { workspace = true }
-reedline = { workspace = true, features = ["bashisms", "sqlite"] }
+reedline = { workspace = true, features = ["bashisms", "sqlite-dynlib"] }
chrono = { default-features = false, features = ["std"], workspace = true }
crossterm = { workspace = true }
diff --git a/crates/nu-command/Cargo.toml b/crates/nu-command/Cargo.toml
index 28858e2a8..7f5570266 100644
--- a/crates/nu-command/Cargo.toml
+++ b/crates/nu-command/Cargo.toml
@@ -87,7 +87,6 @@ getrandom = { workspace = true, optional = true }
rayon = { workspace = true }
roxmltree = { workspace = true }
rusqlite = { workspace = true, features = [
- "bundled",
"backup",
"chrono",
], optional = true }
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "taplo"
version = "0.10.0"
[source]
repo = "https://github.com/tamasfe/taplo"
commit = "20a9145169437bb1a5629577094f20c01e83369b"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "taplo"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/taplo /out/usr/bin/taplo"
# 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): openssl
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "tre"
version = "0.9.0"
[source]
repo = "https://github.com/laurikari/tre"
commit = "d0e0c997336b3210f05b3e1daa7bb5cb9900d274"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = []
[deps]
build = ["autoconf", "automake", "gettext", "libtool"]
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "typos"
version = "1.47.2"
[source]
repo = "https://github.com/crate-ci/typos"
commit = "37bb98842b0d8c4ffebdb75301a13db0267cef89"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "typos"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/typos /out/usr/bin/typos"
+22
View File
@@ -0,0 +1,22 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "uv"
version = "0.11.19"
[source]
repo = "https://github.com/astral-sh/uv"
commit = "7b2cff1c316eb3b7f52b1cc121d7e25eeea1b17c"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "uv"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/uv /out/usr/bin/uv"
# 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): jemalloc
+19
View File
@@ -0,0 +1,19 @@
# Importada de nixpkgs por `hammer import-nix` (Etapa G). PUNTO DE PARTIDA, no final:
# - el build usa el lab de hammer (zig-cc / musl estático), NO el stdenv de nix ⇒ revisá
# compiler/link/phases y adaptá hasta que compile.
# - las deps van con su nombre NIX; remapealas a las recetas del corpus si difieren.
name = "xplr"
version = "1.1.0"
[source]
repo = "https://github.com/sayanarijit/xplr"
commit = "db0e781f14ba4ab0242beb36ace87b679c744d4e"
[build]
compiler = "zig-cc"
target = "x86_64-linux-musl"
link = "static"
flags = ["--bin", "xplr"]
[build.phases]
install = "mkdir -p /out/usr/bin && cp target/release/xplr /out/usr/bin/xplr"
+33
View File
@@ -0,0 +1,33 @@
# Tanda CLI Rust moderno #3 — Etapa G a escala. Tier-1 (nix navega ~100% en musl).
# Uso: NIX_STORE=$HOME/.nixstore OUTDIR=recipes/incoming scripts/import-batch.sh -f tandas/cli-rust-3.txt
# nixattr=alpinepkg donde el nombre difiere. CLIs nuevos (no en corpus, distintos a tandas 1/2).
gitoxide
mdbook
typos=typos-cli
taplo=taplo-cli
cargo-watch
hyperfine
hexyl
sccache
tokei
bacon
cargo-nextest
biome
oxlint
ruff
uv
dust
felix=felix-fm
yazi=yazi-fm
joshuto
xplr
nu=nushell
helix=helix
rip=rm-improved
lln=lln
hck
htmlq
jaq
fx
tre=tre-command
zoxide