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:50:31 -07:00
logab9bcd7597aaf2780fdc9a60fcd2552b573852cf
treefcdfb6647fd77c64203923dd65f14f5d3493a21c
parent6aa244fffd454b871bebf38194c5a55ed52a8abb

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 {...@@ -222,5 +222,5 @@ pub fn find_cachepath() !string {
222 if (std.mem.indexOf(u8, haystack, needle)) |index| {222 if (std.mem.indexOf(u8, haystack, needle)) |index| {
223 return haystack[0 .. index + needle.len];223 return haystack[0 .. index + needle.len];
224 }224 }
225 return try std.fs.path.join(gpa, &.{ ".zigmod", "deps" });225 return try std.fs.path.join(gpa, &.{ haystack, ".zigmod", "deps" });
226}226}