| ... | @@ -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 | } |