forked from rosa/hakurei
internal/rosa: pass stage alongside state
This cleans up many function signatures. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -2,12 +2,12 @@ package rosa
|
||||
|
||||
import "hakurei.app/internal/pkg"
|
||||
|
||||
func (t Toolchain) newPkgConfig(s *S) (pkg.Artifact, string) {
|
||||
func (t Toolchain) newPkgConfig() (pkg.Artifact, string) {
|
||||
const (
|
||||
version = "0.29.2"
|
||||
checksum = "6UsGqEMA8EER_5b9N0b32UCqiRy39B6_RnPfvuslWhtFV1qYD4DfS10crGZN_TP2"
|
||||
)
|
||||
return s.NewPackage(t, "pkg-config", version, newFromGitLab(
|
||||
return t.NewPackage("pkg-config", version, newFromGitLab(
|
||||
"gitlab.freedesktop.org",
|
||||
"pkg-config/pkg-config",
|
||||
"pkg-config-"+version,
|
||||
|
||||
Reference in New Issue
Block a user