Commit Graph

6 Commits

Author SHA1 Message Date
Aleksi Hannula
745f12467c minimal-bootstrap: Fix tools in preparation for early cross-compilation
Various packages under minimal-bootstrap explicitly use the musl gcc
wrapper (especially the *-static packages).

In #494106, the desire is to allow these packages to run on a host
platform which may differ from the bootstrap seed platform. That host
platform may be a non-musl platform, and furthermore musl may not even
be available on the desired host architecture.

This change aims to make the packages more generic wrt libc. It is
extracted out of #494106.
2026-06-17 13:34:53 +03:00
Aliaksandr
338f91240f minimal-bootstrap: trim bash-static output
Disable NLS and remove installed documentation from the static bash used in stage0. The bootstrap path keeps bash and the sh symlink only.

Size impact against upstream/staging:

- bash-static closure: 9.643 MiB -> 1.333 MiB (-8.310 MiB)

Assisted-by: codex with gpt-5.5-high
2026-06-08 00:09:35 +03:00
Aleksi Hannula
9d829d6ed3 minimal-bootstrap.bash-static: link bin/sh 2026-01-26 21:45:18 +02:00
Aleksi Hannula
37b28b8958 minimal-bootstrap: speed up ./configure
By default, stdenv runs configure using --disable-dependency-tracking.
This commit adds the same flag to most manual invocations of autotools
configure scripts in minimal-bootstrap.

However, the flag does not apply to musl & zlib, which come with
handwritten configure scripts. It also does not apply to Python, where
the dependency tracking feature is already disabled in automake config.
2026-01-14 22:47:35 +02:00
Aleksi Hannula
e9b85ea2c0 minimal-bootstrap.bash{,-static}: 5.2.15 -> 5.3 2026-01-14 14:12:52 +02:00
Emily Trau
f2d7930395 minimal-bootstrap.bash-static: init at 5.2.15 2025-12-17 12:41:19 -05:00