How to contribute
Contents
How to contribute¶
The Nix ecosystem is developed by many volunteers and a few paid developers, maintaining one of the largest open source software distributions in the world. Keeping it working and up to date would not be possible without your support.
This guide shows how you can contribute to Nix, Nixpkgs or NixOS.
Getting started¶
Join our community communication platforms to get in contact with other users and developers. Check out our community teams if you’re interested in a particular topic.
All the source code and documentation is on GitHub, and you need a GitHub account to propose changes. Technical discussions happen in issue and pull request comments.
Tip
If you are new to Nix, consider contributing documentation first.
This is where we need the most help and where it is the easiest to begin.
Report an issue¶
We can only fix issues that we know of, so please report any issue you encounter.
Issues with Nix (including the Nix reference manual) are reported at https://github.com/NixOS/nix/issues.
Issues with Nixpkgs or NixOS (including packages, configuration modules, the Nixpkgs manual, and the NixOS manual) 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.
Contribute to Nix¶
Nix is the cornerstone of the ecosystem, and 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.
Issues tagged good-first-issue
are a great opportunity for taking your first steps as a Nix contributor.
If you are proficient with C++, addressing one of the popular issues will be highly appreciated by maintainers and Nix users all over the world.
Contribute to Nixpkgs¶
Contributing to Nixpkgs is simple when you have understood the basic concepts.
The Nixpkgs manual quick start guide explains step-by-step how to add new packages. There are also programming-language-specific instructions.
You can find inspiration for things to improve in the Nixpkgs issue tracker.
Contribute to NixOS¶
It’s pretty easy to contribute to NixOS compared to other Linux distributions.
All the code is on GitHub in the nixpkgs
repository.
Everyone can propose an improvement and most of them get merged after a review by maintainers.
You will get feedback in the pull request.
See the NixOS manual’s development section to get started.
Issues tagged with good-first-bug
are a good resource for new contributos.
If you know your way around, working on popular issues will be highly appreciated by other NixOS users.