mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-08-16 18:00:30 +03:00
fix(rust): extract correct info for dependencies
This commit is contained in:
parent
0d96a7249b
commit
d3bf1912fb
@ -373,7 +373,10 @@ in {
|
||||
|
||||
dependencies = rawObj: finalObj:
|
||||
l.map
|
||||
(dep: dep // {version = extractVersionFromDep dep;})
|
||||
(dep: {
|
||||
name = dep.name;
|
||||
version = extractVersionFromDep dep;
|
||||
})
|
||||
(l.map parseDepEntry (rawObj.dependencies or []));
|
||||
|
||||
sourceSpec = rawObj: finalObj: let
|
||||
|
Loading…
Reference in New Issue
Block a user