authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-13 17:50:31 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-04-13 17:54:43 -07:00
logca1b3b29bd85ee6a6f57a024e11ccdc99b462372
tree4ff1619657e8bf5fe7a26ef66f6d2a5a819bd7ba
parenta15274495b0ad14423bff47b9caa7d2a5ab04eef

deps.zig: always resolve cachepath to an absolute dir


1 files changed, 1 insertions(+), 1 deletions(-)

src/util/funcs.zig+1-1
......@@ -222,5 +222,5 @@ pub fn find_cachepath() !string {
222222 if (std.mem.indexOf(u8, haystack, needle)) |index| {
223223 return haystack[0 .. index + needle.len];
224224 }
225 return try std.fs.path.join(gpa, &.{ ".zigmod", "deps" });
225 return try std.fs.path.join(gpa, &.{ haystack, ".zigmod", "deps" });
226226}