Skip to content

Commit

Permalink
hello: Move to pkgs/by-name
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil committed Sep 5, 2023
1 parent 87f7f16 commit 77d50b0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pkgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Now that this is out of the way. To add a package to Nixpkgs:
You can have a look at the existing Nix expressions under `pkgs/` to see how it’s done, some of which are also using the [category hierarchy](#category-hierarchy).
Here are some good ones:

- GNU Hello: [`pkgs/applications/misc/hello/default.nix`](applications/misc/hello/default.nix). Trivial package, which specifies some `meta` attributes which is good practice.
- GNU Hello: [`pkgs/by-name/he/hello/package.nix`](./by-name/he/hello/package.nix). Trivial package, which specifies some `meta` attributes which is good practice.

- GNU cpio: [`pkgs/tools/archivers/cpio/default.nix`](tools/archivers/cpio/default.nix). Also a simple package. The generic builder in `stdenv` does everything for you. It has no dependencies beyond `stdenv`.

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32514,8 +32514,6 @@ with pkgs;

heimer = libsForQt5.callPackage ../applications/misc/heimer { };

hello = callPackage ../applications/misc/hello { };

hello-wayland = callPackage ../applications/graphics/hello-wayland { };

hello-unfree = callPackage ../applications/misc/hello-unfree { };
Expand Down

0 comments on commit 77d50b0

Please sign in to comment.