Granja laptop sobre cli-rust-10: build-yield 11/18, todos ELF static-musl: cargo-component, cargo-dist, cargo-llvm-cov, cargo-make, cocogitto, committed, dotenv-linter, git-branchless, jujutsu (jj), netscanner, systemctl-tui. 7 staged (cargo-release/convco/dnspeep/feroxbuster/git-stack/git-trim/selene). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
873 B
TOML
23 lines
873 B
TOML
# 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-dist"
|
|
version = "0.32.0"
|
|
|
|
[source]
|
|
repo = "https://github.com/axodotdev/cargo-dist"
|
|
commit = "6886366640dd4da83d33ba55cc04aa58423cbad2"
|
|
|
|
[build]
|
|
compiler = "zig-cc"
|
|
target = "x86_64-linux-musl"
|
|
link = "static"
|
|
flags = ["--bin", "dist"]
|
|
|
|
[build.phases]
|
|
install = "mkdir -p /out/usr/bin && cp target/release/dist /out/usr/bin/dist"
|
|
|
|
# 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, rustup, nss-cacert, bzip2, xz, zstd
|