Commit Graph

13 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
Aaron Jheng
f6f10a2819
txtpbfmt: 0-unstable-2024-06-11 -> 0-unstable-2024-11-12 2024-11-23 12:55:49 +08:00
Aaron Jheng
99bcd61753
txtpbfmt: format with nixfmt 2024-11-23 10:57:36 +08: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
R. Ryantm
0fd3ceaa50 txr: 295 -> 296 2024-10-15 09:28:22 +00:00
Aaron Jheng
00a6ef358a
txtpbfmt: 0-unstable-2024-04-16 -> 0-unstable-2024-06-11 2024-08-02 02:27:25 +00:00
Aaron Jheng
273ed6d57a
txtpbfmt: move to by-name 2024-08-01 11:04:44 +00:00
R. Ryantm
ccd3975a8d txr: 294 -> 295 2024-06-30 12:21:40 +00:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
9712b0e5c4 txr: 293 -> 294 2024-03-19 00:21:06 +00:00
R. Ryantm
f2199ec7ce txr: 292 -> 293 2023-12-30 08:21:36 +00:00
R. Ryantm
aa8eb0cbbc txr: 291 -> 292 2023-11-22 09:26:50 -03:00
Anderson Torres
b2425a56d9 txr: migrate to by-name 2023-10-11 23:42:04 -03:00