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

@@ -6,8 +6,7 @@ import (
"strings"
)
// CMake is the package used by [CMakeHelper].
var CMake = H("cmake")
var _cmake = H("cmake")
// CMakeHelper is the [CMake] build system helper.
type CMakeHelper struct {
@@ -35,9 +34,9 @@ var _ Helper = new(CMakeHelper)
// extra returns a hardcoded slice of [CMake] and [Ninja].
func (attr *CMakeHelper) extra(int) P {
if attr != nil && attr.Make {
return P{CMake, Make}
return P{_cmake, _make}
}
return P{CMake, Ninja}
return P{_cmake, _ninja}
}
// wantsChmod returns false.