internal/rosa/package: migrate mksh

This benefits greatly from the new generic helper.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-19 19:47:57 +09:00
parent 548c96c7ec
commit 6fd6d971ed
4 changed files with 43 additions and 47 deletions

View File

@@ -224,6 +224,9 @@ const (
THostNet
)
// The Mksh shell is added by [Toolchain.New] and used by almost all packages.
var Mksh = H("mksh")
// New returns a [pkg.Artifact] based on a [Toolchain] via s.
func (t Toolchain) New(
name string,