remove duplicates from brewfile

This commit is contained in:
Josh Gibbs 2026-02-03 21:22:21 -08:00 committed by GitHub
parent 0fc4e7ac67
commit 53dd29f381
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ let
mkBrewfileSectionString = heading: entries: optionalString (entries != [ ]) ''
# ${heading}
${concatMapStringsSep "\n" (v: v.brewfileLine or v) entries}
${concatStringsSep "\n" (unique (map (v: v.brewfileLine or v) entries))}
'';