remove duplicates from brewfile
This commit is contained in:
parent
0fc4e7ac67
commit
53dd29f381
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ let
|
||||||
|
|
||||||
mkBrewfileSectionString = heading: entries: optionalString (entries != [ ]) ''
|
mkBrewfileSectionString = heading: entries: optionalString (entries != [ ]) ''
|
||||||
# ${heading}
|
# ${heading}
|
||||||
${concatMapStringsSep "\n" (v: v.brewfileLine or v) entries}
|
${concatStringsSep "\n" (unique (map (v: v.brewfileLine or v) entries))}
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue