aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/pkg-config.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-17 16:44:13 +0900
committerOphestra <cat@gensokyo.uk>2026-05-17 17:50:30 +0900
commit38bc2c750842826c5af4f66abe3e1905258cd274 (patch)
tree75e1d17961fd980ff8b20a9dfd937789de10836e /internal/rosa/pkg-config.go
parent30eb0d6a613ad268f6805ccbcdcabf158e7f526f (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/pkg-config.go')
-rw-r--r--internal/rosa/pkg-config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/pkg-config.go b/internal/rosa/pkg-config.go
index 105a1e86..e362715e 100644
--- a/internal/rosa/pkg-config.go
+++ b/internal/rosa/pkg-config.go
@@ -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,