mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-21 05:21:32 +03:00
fix(rust): put relative paths instead of store paths in lockfile for path deps
This commit is contained in:
parent
e8c4baf602
commit
2477a55fbb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user