From 53dd29f3818737897b1571ccab529d20ce296131 Mon Sep 17 00:00:00 2001 From: Josh Gibbs Date: Tue, 3 Feb 2026 21:22:21 -0800 Subject: [PATCH] remove duplicates from brewfile --- modules/homebrew.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))} '';