1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00
nix.dev/source/contributing.md
Yuki Langley 8522325436
Add information on contributing documentation (#371)
* Add information on contributing documentation

* Refer to quick start on adding new packages

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-12-10 04:24:06 +01:00

4.1 KiB
Raw Blame History

How to Contribute

This guide explains how you can contribute to Nix, Nix packages or NixOS.

Report an issue

We can only fix issues that we know of, so please report any issue you encounter.

Issues with the package manager Nix (including its documentation) are reported at https://github.com/NixOS/nix/issues.

Issues with specific packages or NixOS (including its modules and documentation) are reported at https://github.com/NixOS/nixpkgs/issues.

Make sure that there is not already an open issue for your problem. Please follow the issue template and fill in all requested information as they help us solve the problem.

You need a GitHub account for that.

Contribute to documentation

Documentation on the Nix ecosystem is divided into several domains based on purpose.

The manuals for Nix, Nixpkgs, and NixOS are reference documentation, specifying interfaces and behavior.

nix.dev is a curated repository of guides and tutorials aimed to teach beginners essential Nix knowledge, show best practices, and help orient users in the Nix ecosystem.

Guidelines for contributing to documentation are available in the nix.dev repository.

A detailed overview of the entire Nix documentation ecosystem is available in the Nix documentation team repository.

Contribute to Nix

The package manager Nix is mostly written in C++.

If you want to contribute to its development, you can find information on how to setup a development environment in the manual.

You can find inspiration for things to improve on the issue tracker.

Feel free to join our community to get in contact with other developers.

Contribute to Nixpkgs

Packaging for Nix is simple when you have understood the basic concept.

The Nixpkgs manual explains step-by-step how to add new packages to the Nix package collection. There are also programming language specific instructions.

You can find inspiration for things to improve in the reported issues.

Contribute to NixOS

Its pretty easy to contribute to NixOS compared to other linux distributions. All the code is on GitHub in the repository nixpkgs. Everyone can propose an improvement and most of them get merged after a review of the maintainers. You will get feedback in the pull request.

See the NixOS manual to get started and find all the details.

You can find inspiration for things to improve in the reported issues.

There are also issues tagged with good-first-bug that are a good start for new contributors.

Feel free to join our community of developers!