Pin zhook as a URL dependency instead of a relative path

build.zig.zon pointed at ../zhook, so a clone of this repo alone could not
build. Pin the Codeberg tarball for f1b252e (current zhook master) with its
hash; zig fetches it automatically. Verified by building with no sibling
zhook checkout present.
This commit is contained in:
MarcelineVQ
2026-07-27 22:05:03 -07:00
parent 1d41a029a8
commit 8773bb2821
6 changed files with 884 additions and 5 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
.fingerprint = 0x54f0a9542562d318,
.dependencies = .{
.zhook = .{
.path = "../zhook",
.url = "https://codeberg.org/marcelinevq/zhook/archive/f1b252ed61ad839f00310c386761d068f293ad0f.tar.gz",
.hash = "zhook-0.1.0-pFkSYC6FAACAnkqu0k_DJBWdL0gJjrM22IfXeQPJAMov",
},
},
.paths = .{