forked from rosa/hakurei
internal/rosa/package: migrate nss
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user