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