Get In Touch

From NixOS Wiki
Revision as of 20:54, 22 August 2017 by imported>Mic92 (→‎Create pull requests)

This article describes how you can get involved in the NixOS ecosystem. Besides this wiki entry there is also the official Community Information Website of NixOS.

Working on the nixpkgs repository

Development in NixOS primarily driven by the work in nixpkgs on github. This repository contains both all packages available in your NixOS channel and all the options you can use for configuring your system with your configuration.nix. To get your text editor to recognize Nix expressions, consider installing a Nix editor mode.

Report Issues

Any issue can be reported in the nixpkgs issue-tracker on github. Keep in mind that all work on nixpkgs is being done by volunteers and you cannot expect a quick response and solution for all problems you may face. In general Pull-Requests have a much shorter round-trip-time.

Create pull requests

If you want to see your package being provided by a channel, creating an issue will most likely not enough. It is up to you to create a nix package description in nixpkgs and create a pull request in the nixpkgs repository.

Becoming a nixpkgs maintainer

There are two types of maintainer: Members of the NixOS organization and package/module maintainer.

Members of the NixOS organization have direct access to the nixpkgs and can therefor can merge pull requests.

Everybody can become a package maintainer by adding to maintainers attribute in the meta section of a package. First add your nick handle (preferable your GitHub username) to lib/maintainer.nix and reference the said handle within the package:

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
  name = "hello-2.10"; 
  # ....
  meta = with stdenv.lib; {
    # ...
    maintainers = with maintainers; [ eelco your-nick ]; # replace your-nick with your real nick
    platforms = platforms.all;
  };
}

There can be multiple maintainers per package. Maintainers will receive emails from Hydra when package builds enters a failed state. They do not have special privileges as everybody can suggest updates and modifications to any package. However they might be consulted by NixOS members for testing and as a domain experts, when somebody else make a change to a package.

Communication

Join the mailinglist

There is currently only one official Mailinglist related to NixOS, nix-devel. You don't need to be a developer to use nix-devel.

Join the chat

The official NixOS channel resides on irc.freenode.org in #nixos (searchable Log).

In addition to that there is also the unofficial [matrix channel]

Join the forums

Check out the NixOS Reddit channel and help answering questions on Stack Overflow for NixOS and nix.