mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-04 20:22:14 +03:00
fix: use name attr before workspace path
This commit is contained in:
parent
170a157b1f
commit
d019c19164
@ -291,8 +291,9 @@
|
||||
|
||||
workspaceDependendencies =
|
||||
l.mapAttrsToList
|
||||
(wsName: wsJson: {
|
||||
name = wsName;
|
||||
(wsPath: wsJson: {
|
||||
# If the name attr doesn't exist, use the relative path as name
|
||||
name = wsJson.name or wsPath;
|
||||
version = wsJson.version or "unknown";
|
||||
})
|
||||
workspacesPackageJson;
|
||||
|
Loading…
Reference in New Issue
Block a user