From a03752f50c7530ac23c868e9b0400dbb029b7de2 Mon Sep 17 00:00:00 2001 From: Peter Kolloch Date: Sat, 14 Oct 2023 12:17:34 +0200 Subject: [PATCH] [tools.nix] fix formatting --- tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.nix b/tools.nix index 3d4fdeb7..e02bb37a 100644 --- a/tools.nix +++ b/tools.nix @@ -350,7 +350,7 @@ rec { ''; gitSources = packagesByType."git" or [ ]; uniqueBy = f: - lib.foldl' (acc: e: if lib.elem (f e) (map f acc) then acc else acc ++ [ e ]) []; + lib.foldl' (acc: e: if lib.elem (f e) (map f acc) then acc else acc ++ [ e ]) [ ]; gitSourcesUnique = uniqueBy (c: c.source) gitSources; gitSourceConfigs = builtins.map gitSourceConfig gitSourcesUnique; gitSourceConfigsString = lib.concatStrings gitSourceConfigs;