gioser

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

⎇ main tandas/staged-fallidos/cargo-chef.toml TOML · 37 líneas · 1.4 KB Historia crudo

Etapa G: manda reserva go-5 al VPS (27) + archiva 22 fallidos d7e5d206b · sergio ·

1# Importada de Alpine aports por `hammer import-alpine` (Etapa G). PUNTO DE PARTIDA — pero
2# YA trae los parches de musl de Alpine (lo que un import de nix pierde). Pendiente: el
3# sha256 del tarball (el wrapper lo calcula), y adaptar build/install del shell de abuild.
4name    = "cargo-chef"
5version = "0.1.77"
6
7[source]
8tarball = "https://github.com/LukeMathWalker/cargo-chef/archive/refs/tags/v0.1.77.tar.gz"
9# FIXME sha256: el wrapper lo calcula (Alpine publica sha512). sha512 de Alpine:
10# sha512 = "53ef5b1afd6c8f8c72ed1d55c8a18f4650a1226a520e55286d2ec1ff71cdb4a644dba4a8d068ba933d04c06adfa280fd553afad05024c2118813c2990f35fa8d"
11sha256  = "829376cedccde0d6dcf242ca22234d8996e64f51c8033cc1dae4819e6b0a27fb"
12
13[build]
14compiler = "zig-cc"
15target   = "x86_64-linux-musl"
16link     = "static"
17flags    = []
18
19[build.phases]
20# de build() de Alpine (traducido; el lab provee $CBUILD/$CHOST — Etapa G Fase 3; revisá --shared para estático):
21compile = '''
22_abuild_phase() {
23cargo auditable build --release --frozen
24}
25_abuild_phase
26'''
27# de package() de Alpine (traducido $pkgdir→/out):
28install = '''
29_abuild_phase() {
30install -Dm755 target/release/cargo-chef -t "/out"/usr/bin/
31
32	install -Dm 644 README.md -t "/out"/usr/share/doc/"cargo-chef"/
33	install -Dm 644 LICENSE-MIT -t "/out"/usr/share/licenses/"cargo-chef"/
34	install -Dm 644 LICENSE-APACHE -t "/out"/usr/share/licenses/"cargo-chef"/
35}
36_abuild_phase
37'''