From 1f51ad8f00b0cc7b1b5b344fed1baf5b156d4f76 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Thu, 30 Apr 2026 12:08:24 +0200 Subject: [PATCH] Add build.zig.zon to .paths Previously, when s2s was used as a dependency, Zig would fetch it and correctly save it in zig-pkg locally as well as globally in the global cache. However, when the package was loaded from the global cache when zig-pkg was deleted, the hash would be resolved incorrectly, causing a subsequent hash mismatch. This happened due to the hash depending on the package name and fingerprint, stored in build.zig.zon which would be missing. --- build.zig.zon | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig.zon b/build.zig.zon index 8928df7..08d189c 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -6,6 +6,7 @@ .minimum_zig_version = "0.15.0", .paths = .{ "build.zig", + "build.zig.zon", "s2s.zig", }, }