diff options
Diffstat (limited to 'nixpkgs/pkgs/README.md')
-rw-r--r-- | nixpkgs/pkgs/README.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/README.md b/nixpkgs/pkgs/README.md index 837a99f07e7f..f8a79acdbd29 100644 --- a/nixpkgs/pkgs/README.md +++ b/nixpkgs/pkgs/README.md @@ -65,6 +65,8 @@ Now that this is out of the way. To add a package to Nixpkgs: $ git add pkgs/by-name/so/some-package/package.nix ``` + If the package is written in a language other than C, you should use [the corresponding language framework](https://nixos.org/manual/nixpkgs/stable/#chap-language-support). + 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: @@ -176,7 +178,7 @@ For example, the `libxml2` package builds both a library and some tools; but itâ - **If it’s a _language server_:** - - `development/tools/language-servers` (e.g. `ccls` or `rnix-lsp`) + - `development/tools/language-servers` (e.g. `ccls` or `nil`) - **Else:** |