# 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 = "aichat" version = "0.30.0" license = "MIT OR Apache-2.0" [source] repo = "https://github.com/sigoden/aichat" commit = "430416d914896c3534c04b84c0226910c64e3e66" [build] compiler = "zig-cc" target = "x86_64-linux-musl" link = "static" flags = ["--bin", "aichat"] [build.phases] install = "mkdir -p /out/usr/bin && cp target/release/aichat /out/usr/bin/aichat"