Skip to content

Commit

Permalink
[tools.nix] fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
kolloch committed Oct 14, 2023
1 parent 466d155 commit a03752f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a03752f

Please sign in to comment.