Skip to content

Commit

Permalink
doc/by-name: explain motivation for transition when custom args are used
Browse files Browse the repository at this point in the history
  • Loading branch information
doronbehar committed Sep 30, 2024
1 parent 546d75c commit 3a0d864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/by-name/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ though this is not required and must not be expected.

Note that definitions in `all-packages.nix` with custom arguments should not be removed.
That is a backwards-incompatible change because it changes the `.override` interface.
Such packages may still be moved to `pkgs/by-name` however, while keeping the definition in `all-packages.nix`.
Such packages may still be moved to `pkgs/by-name` however, in order to avoid the slightly superficial choice of directory / category in which the `default.nix` file was placed, but please keep the definition in `all-packages.nix` using `callPackage`.
See also [changing implicit attribute defaults](#changing-implicit-attribute-defaults).

## Limitations
Expand Down

0 comments on commit 3a0d864

Please sign in to comment.