mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-09-11 14:35: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:
|
dependencies = rawObj: finalObj:
|
||||||
l.map
|
l.map
|
||||||
(dep: dep // {version = extractVersionFromDep dep;})
|
(dep: {
|
||||||
|
name = dep.name;
|
||||||
|
version = extractVersionFromDep dep;
|
||||||
|
})
|
||||||
(l.map parseDepEntry (rawObj.dependencies or []));
|
(l.map parseDepEntry (rawObj.dependencies or []));
|
||||||
|
|
||||||
sourceSpec = rawObj: finalObj: let
|
sourceSpec = rawObj: finalObj: let
|
||||||
|
Loading…
Reference in New Issue
Block a user