Commit Graph

7 Commits

Author SHA1 Message Date
Silvan Mosberger
57afdc545b tests.nixpkgs-check-by-name: Enforce pkgs/by-name for new packages 2024-01-10 19:29:26 +01:00
Silvan Mosberger
92238ac52d tests.nixpkgs-check-by-name: Create script to run locally
Due to the check soon depending on the base branch (see `--base`),
the CI check can't reasonably share all code with a local check.
We can still make a script to run it locally, just not sharing all code.
2023-12-20 17:38:03 +01:00
Silvan Mosberger
6f2be7c095 pkgs/by-name: Mention possibility of avoiding alternate callPackage's
This is preferred over using the category hierarchy

Co-authored-by: Anderson Torres <torres.anderson.85@protonmail.com>
2023-12-06 23:29:27 +01:00
Samuel Tardieu
41acc25766 by-name: make the way of adding packages clearer 2023-10-09 19:12:29 +02:00
Silvan Mosberger
e27e30204b pkgs/by-name: Add manual migration guidelines
Motivated from seeing people starting to migrate packages manually when
it shouldn't be necessary or done differently.
2023-09-12 00:18:24 +02:00
Silvan Mosberger
488840d203 pkgs/by-name: Fix minor mistake in README 2023-09-06 19:29:43 +02:00
Silvan Mosberger
f6467c3574 pkgs/by-name: Introduce
This introduces the `pkgs/by-name` directory as proposed by RFC 140.
Included are:
- The implementation to add packages defined in that directory to the
  top-level package scope
- Contributer documentation on how to add packages to it
- A GitHub Actions workflow to check the structure of it on all PRs
2023-09-05 16:10:50 +02:00