mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-04 20:22:14 +03:00
fix(translator/cargo-lock): filter out root member (.) since we already parse this
This commit is contained in:
parent
aa6099ecf2
commit
1cca528ec6
@ -51,7 +51,8 @@ in {
|
||||
workspaceCargoPackages =
|
||||
l.map
|
||||
(relPath: readToml "${inputDir}/${relPath}/Cargo.toml")
|
||||
workspaceMembers;
|
||||
# Filter root referencing member, we already parsed this (rootToml)
|
||||
(l.filter (relPath: relPath != ".") workspaceMembers);
|
||||
|
||||
# All cargo packages that we will output
|
||||
cargoPackages =
|
||||
|
Loading…
Reference in New Issue
Block a user