minimal-bootstrap: trim gnutar-static output

Disable NLS and remove installed documentation plus the remote tape helper. The stage0 bootstrap path only needs the static tar binary.

Size impact against upstream/staging:

- gnutar-static closure: 3.772 MiB -> 0.826 MiB (-2.946 MiB)

Assisted-by: codex with gpt-5.5-high
This commit is contained in:
Aliaksandr 2026-05-22 05:43:09 +03:00
commit e6c8f21c05
No known key found for this signature in database
GPG key ID: CACB28BA93CE71A2

View file

@ -62,6 +62,7 @@ bash.runCommand "${pname}-${version}"
--build=${buildPlatform.config} \
--host=${hostPlatform.config} \
--disable-dependency-tracking \
--disable-nls \
CC=musl-gcc \
CFLAGS=-static
@ -70,4 +71,5 @@ bash.runCommand "${pname}-${version}"
# Install
make -j $NIX_BUILD_CORES install-strip
rm -rf $out/libexec $out/share
''