Commit Graph

7 Commits

Author SHA1 Message Date
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
5b3042490f bfs: 4.0.3 -> 4.0.4 2024-12-01 20:35:11 +00:00
Aleksana
43d34c4e96
bfg-repo-cleaner: format with nixfmt-rfc-style and add passthru.tests.version (#357491) 2024-11-29 17:13:52 +08:00
Kenichi Kamiya
5a4df0c14f
bfg-repo-cleaner: add passthru.tests.version 2024-11-20 16:54:15 +09:00
Kenichi Kamiya
8ad7b50bf8
bfg-repo-cleaner: format with nixfmt-rfc-style 2024-11-20 16:52:34 +09:00
Kenichi Kamiya
20a29cb94f
bfg-repo-cleaner: 1.13.0 -> 1.14.0 2024-11-20 16:42:56 +09:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00