fix(rust): put relative paths instead of store paths in lockfile for path deps

This commit is contained in:
Yusuf Bera Ertan 2022-01-08 14:33:32 +03:00
parent e8c4baf602
commit 2477a55fbb
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -201,12 +201,12 @@
path = dependencyObject:
let
findCratePath = name:
l.dirOf (
l.baseNameOf (l.dirOf (
l.findFirst
(toml: toml.value.package.name == name)
(throw "could not find crate ${name}")
cargoPackages
).path;
).path);
in
{
path = findCratePath dependencyObject.name;