xplr construye con el gueto gcc (mlua-sys/Lua linkeaba mal _Unwind_* bajo zig-cc) → promovido. CORPUS LLEGA A 100 recetas. helix: añade HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 — su build.rs intentaba git-clonear 245 gramáticas tree-sitter (panic en el sandbox hermético); pendiente de validar en la próxima construcción. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
23 lines
911 B
TOML
23 lines
911 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 = "xplr"
|
|
version = "1.1.0"
|
|
|
|
[source]
|
|
repo = "https://github.com/sayanarijit/xplr"
|
|
commit = "db0e781f14ba4ab0242beb36ace87b679c744d4e"
|
|
|
|
# GUETO gcc: xplr embebe mlua-sys (compila Lua en C); bajo zig-cc el link falla con símbolos de
|
|
# unwinding sueltos (_Unwind_GetCFA/_Unwind_DeleteException, de libgcc). compiler="gcc" usa el musl
|
|
# gcc de Alpine que aporta su runtime de unwinding.
|
|
[build]
|
|
compiler = "gcc"
|
|
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"
|