aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/gtk.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/gtk.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/gtk.go')
-rw-r--r--internal/rosa/gtk.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/gtk.go b/internal/rosa/gtk.go
index ab054279..02ba1786 100644
--- a/internal/rosa/gtk.go
+++ b/internal/rosa/gtk.go
@@ -5,12 +5,12 @@ import (
"hakurei.app/internal/pkg"
)
-func (t Toolchain) newGLib(s *S) (pkg.Artifact, string) {
+func (t Toolchain) newGLib() (pkg.Artifact, string) {
const (
version = "2.88.1"
checksum = "Rkszn6W4RHjyspyqfXdVAVawdwDJCuS0Zu0f7qot7tbJhnw2fUDoUUJB40m-1MCX"
)
- return s.NewPackage(t, "glib", version, s.newTagRemote(t,
+ return t.NewPackage("glib", version, t.newTagRemote(
"https://gitlab.gnome.org/GNOME/glib.git",
version, checksum,
), &PackageAttr{