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 aaf520b commit bd28dd0
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 bd28dd0

Please sign in to comment.