diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-05-17 16:44:13 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-05-17 17:50:30 +0900 |
| commit | 38bc2c750842826c5af4f66abe3e1905258cd274 (patch) | |
| tree | 75e1d17961fd980ff8b20a9dfd937789de10836e /internal/rosa/mksh.go | |
| parent | 30eb0d6a613ad268f6805ccbcdcabf158e7f526f (diff) | |
internal/rosa: pass stage alongside state
This cleans up many function signatures.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/mksh.go')
| -rw-r--r-- | internal/rosa/mksh.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/rosa/mksh.go b/internal/rosa/mksh.go index a2059efa..0457fd52 100644 --- a/internal/rosa/mksh.go +++ b/internal/rosa/mksh.go @@ -2,16 +2,16 @@ package rosa import "hakurei.app/internal/pkg" -func (t Toolchain) newMksh(s *S) (pkg.Artifact, string) { +func (t Toolchain) newMksh() (pkg.Artifact, string) { const ( version = "59c" checksum = "0Zj-k4nXEu3IuJY4lvwD2OrC2t27GdZj8SPy4DoaeuBRH1padWb7oREpYgwY8JNq" ) scriptTest := "./test.sh -C regress:no-ctty\n" - if s.opts&OptSkipCheck != 0 { + if t.opts&OptSkipCheck != 0 { scriptTest = "" } - return s.New(t, "mksh-"+version, 0, s.AppendPresets(t, nil, + return t.New("mksh-"+version, 0, t.Append(nil, Perl, Coreutils, ), nil, []string{ |
