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:
+2
-1
@@ -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 = .{
|
||||
|
||||
Reference in New Issue
Block a user