mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-26 07:52:43 +03:00
fix(rust): filter out duplicate git sources in subsystem attrs
This commit is contained in:
parent
a67a45657b
commit
f9481010cd
@ -312,10 +312,12 @@ in {
|
||||
cargoPackages;
|
||||
in
|
||||
l.foldl' l.recursiveUpdate {} allPackageReplacements;
|
||||
gitSources = l.map (src: src.value) (
|
||||
l.filter
|
||||
(src: src.type == "git")
|
||||
(l.map parseSource parsedDeps)
|
||||
gitSources = l.unique (
|
||||
l.map (src: src.value) (
|
||||
l.filter
|
||||
(src: src.type == "git")
|
||||
(l.map parseSource parsedDeps)
|
||||
)
|
||||
);
|
||||
meta = l.foldl' l.recursiveUpdate {} (
|
||||
l.map
|
||||
|
Loading…
Reference in New Issue
Block a user