diff --git a/modules/homebrew.nix b/modules/homebrew.nix index 1bf899b..a7846fd 100644 --- a/modules/homebrew.nix +++ b/modules/homebrew.nix @@ -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))} '';