aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/p11.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/p11.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/p11.go')
-rw-r--r--internal/rosa/p11.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/rosa/p11.go b/internal/rosa/p11.go
index 70fe9419..4e7630cd 100644
--- a/internal/rosa/p11.go
+++ b/internal/rosa/p11.go
@@ -7,9 +7,9 @@ func (t Toolchain) newP11Kit() (pkg.Artifact, string) {
version = "0.26.2"
checksum = "3ei-6DUVtYzrRVe-SubtNgRlweXd6H2qHmUu-_5qVyIn6gSTvZbGS2u79Y8IFb2N"
)
- return t.NewPackage("p11-kit", version, t.NewViaGit(
+ return t.NewPackage("p11-kit", version, t.newTagRemote(
"https://github.com/p11-glue/p11-kit.git",
- "refs/tags/"+version, mustDecode(checksum),
+ version, checksum,
), nil, &MesonHelper{
Setup: []KV{
{"Dsystemd", "disabled"},