aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/gtk.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-13 15:18:49 +0900
committerOphestra <cat@gensokyo.uk>2026-04-13 15:20:51 +0900
commiteeaf26e7a24c5c51c64fc333284015224e851e8c (patch)
tree88c24355b0b4d9ea3bf2b5548c63282d50c44729 /internal/rosa/gtk.go
parentb587caf2e863902eb04a6540462db5852fd1a0b5 (diff)
internal/rosa: wrapper around git helper
This results in much cleaner call site for the majority of use cases. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/gtk.go')
-rw-r--r--internal/rosa/gtk.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/rosa/gtk.go b/internal/rosa/gtk.go
index 902d6975..0ddfeb8a 100644
--- a/internal/rosa/gtk.go
+++ b/internal/rosa/gtk.go
@@ -10,10 +10,9 @@ func (t Toolchain) newGLib() (pkg.Artifact, string) {
version = "2.88.0"
checksum = "T79Cg4z6j-sDZ2yIwvbY4ccRv2-fbwbqgcw59F5NQ6qJT6z4v261vbYp3dHO6Ma3"
)
- return t.NewPackage("glib", version, t.NewViaGit(
+ return t.NewPackage("glib", version, t.newTagRemote(
"https://gitlab.gnome.org/GNOME/glib.git",
- "refs/tags/"+version,
- mustDecode(checksum),
+ version, checksum,
), &PackageAttr{
Paths: []pkg.ExecPath{
pkg.Path(fhs.AbsEtc.Append(