Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherrypicking some fixes #304

Merged
merged 3 commits into from
Oct 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[tools.nix] fix formatting
  • Loading branch information
kolloch committed Oct 14, 2023
commit bd28dd04da21b06f90e51b5e5fd42465197f2741
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
Loading