Commit Graph

15 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
Kenichi Kamiya
c329f0625c
dprint: enable doCheck with some skips
For a preparation task, replace fetchCrate with fetchFromGitHub

- https://github.com/dprint/dprint/blob/0.47.6/Cargo.lock
- https://github.com/dprint/dprint/tree/0.47.6/crates/test-plugin

And skips some tests which cannot be succeeded even if setting DPRINT_CACHE_DIR
2024-12-08 09:43:05 +09:00
Kenichi Kamiya
bf56fff260
dprint: add kachick as maintainer 2024-12-08 09:42:55 +09:00
Kenichi Kamiya
81e6459faa
dprint: add shell completions
The completion feature was introduced in version 0.39.0

- https://github.com/dprint/dprint/releases/tag/0.39.0
- 717546b0d7
2024-12-06 10:43:06 +09:00
Aleksana
f212b495d3
dprint: 0.47.2 -> 0.47.6 and add version test (#354977) 2024-12-06 09:36:39 +08:00
Kenichi Kamiya
435da03a6e
dprint: move to pkgs/by-name
fbafd4f675/pkgs/by-name/README.md (L79-L114)
2024-12-05 12:41:32 +09:00
R. Ryantm
f0794eceb4 dpp: 10.0.32 -> 10.0.35 2024-12-01 00:07:40 +00: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
a2f7f46b67 dpp: 10.0.31 -> 10.0.32 2024-10-20 05:49:41 +00:00
R. Ryantm
3f954af976 dpp: 10.0.30 -> 10.0.31 2024-09-22 00:44:07 +00:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
h7x4
7384b9abdc
treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
R. Ryantm
a94b878ba4 dpp: 10.0.29 -> 10.0.30 2024-05-11 00:38:15 +00:00
matthewcroughan
2526562588 dps8m: init at 3.0.1 2024-05-02 15:34:02 +00:00
Renato German Chavez Chicoma
57db427b6d dpp: init at 10.0.29 2024-01-28 19:23:53 -08:00