Como root (granja), tar preservaba el uid del tarball → el sandbox (userns) no podía chmod/escribir esos ficheros → configure autotools fallaba (oniguruma: Permission denied creando Makefile). Extraer como root sin preservar owner lo arregla para TODO tarball. oniguruma vuelve a configure plano.
20 lines
710 B
TOML
20 lines
710 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 = "oniguruma"
|
|
version = "6.9.10"
|
|
|
|
[source]
|
|
tarball = "https://github.com/kkos/oniguruma/releases/download/v6.9.10/onig-6.9.10.tar.gz"
|
|
sha256 = "2a5cfc5ae259e4e97f86b68dfffc152cdaffe94e2060b770cb827238d769fc05"
|
|
|
|
[build]
|
|
compiler = "zig-cc"
|
|
target = "x86_64-linux-musl"
|
|
link = "static"
|
|
flags = []
|
|
|
|
[build.phases]
|
|
configure = "./configure --prefix=/usr --enable-posix-api=yes"
|