internal/rosa/package: migrate nss

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-21 15:35:48 +09:00
parent 1acb5b0105
commit cbf18b302d
18 changed files with 196 additions and 209 deletions

View File

@@ -5,8 +5,7 @@ import (
"strings"
)
// Make is the build system used by [MakeHelper].
var Make = H("make")
var _make = H("make")
// MakeHelper is the [Make] build system helper.
type MakeHelper struct {
@@ -52,11 +51,11 @@ var _ Helper = new(MakeHelper)
// extra returns make and other optional dependencies.
func (attr *MakeHelper) extra(flag int) P {
extra := P{Make}
extra := P{_make}
if (attr == nil || !attr.OmitDefaults) && flag&TEarly == 0 {
extra = append(extra,
gawk,
coreutils,
_gawk,
_coreutils,
)
}
return extra