Merge pull request #260022 from samueltardieu/by-name-instructions

by-name: make the way of adding packages clearer

authored by Silvan Mosberger and committed by GitHub 173a07ff a5fb3c88

+4
+4
pkgs/by-name/README.md
··· 3 3 The structure of this directory maps almost directly to top-level package attributes. 4 4 This is the recommended way to add new top-level packages to Nixpkgs [when possible](#limitations). 5 5 6 + Packages found in the named-based structure do not need to be explicitly added to the 7 + `top-level/all-packages.nix` file unless they require overriding the default value 8 + of an implicit attribute (see below). 9 + 6 10 ## Example 7 11 8 12 The top-level package `pkgs.some-package` may be declared by setting up this file structure: