modules/homebrew: remove duplicates from brewfile (#1689)

This commit is contained in:
Sam 2026-02-04 05:49:06 +00:00 committed by GitHub
commit 0d7874ef7e
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))}
'';