diff --git a/src/lockfile.rs b/src/lockfile.rs index e776b66..883ee38 100644 --- a/src/lockfile.rs +++ b/src/lockfile.rs @@ -52,6 +52,18 @@ impl DependencyGraphNode { name: &PackageNames, version: &Version, ) -> PathBuf { + if self.pkg_ref.like_wally() { + return path + .as_ref() + .join(format!( + "{}_{}@{}", + name.as_str().0, + name.as_str().1, + version + )) + .join(name.as_str().1); + } + path.as_ref() .join(name.escaped()) .join(version.to_string())