# 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-expand" version = "1.0.122" [source] repo = "https://github.com/dtolnay/cargo-expand" commit = "5c8d549b567d56bc8819f4efd34de0283dee54e0" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = ["--bin", "cargo-expand"] [build.phases] install = "mkdir -p /out/usr/bin && cp target/release/cargo-expand /out/usr/bin/cargo-expand"