nixpkgs README

The project's README from github.com/NixOS/nixpkgs. As one markdown file: README.md.

NixOS logo

Contributors badge Open Collective supporters

Nixpkgs is a collection of over 140,000 software packages that can be installed with the Nix package manager. It also implements NixOS, a purely-functional Linux distribution.

Manuals

Community

Other Project Repositories

The sources of all official Nix-related projects are in the NixOS organization on GitHub. Here are some of the main ones:

Continuous Integration and Distribution

Nixpkgs and NixOS are built and tested by our continuous integration system, Hydra.

Artifacts successfully built with Hydra are published to cache at https://cache.nixos.org/. When successful build and test criteria are met, the Nixpkgs expressions are distributed via Nix channels.

Contributing

Nixpkgs is among the most active projects on GitHub. While thousands of open issues and pull requests might seem like a lot at first, it helps to consider it in the context of the scope of the project. Nixpkgs describes how to build tens of thousands of pieces of software and implements a Linux distribution. The GitHub Insights page gives a sense of the project activity.

Community contributions are always welcome through GitHub Issues and Pull Requests.

For more information about contributing to the project, please visit the contributing page.

Donations

The infrastructure for NixOS and related projects is maintained by a nonprofit organization, the NixOS Foundation. To ensure the continuity and expansion of the NixOS infrastructure, we are looking for donations to our organization.

You can donate to the NixOS Foundation through SEPA bank transfers or by using Open Collective:

License

Nixpkgs is licensed under the MIT License.

[!Note] MIT license does not apply to the packages built by Nixpkgs, merely to the files in this repository (the Nix expressions, build scripts, NixOS modules, etc.). It also might not apply to patches included in Nixpkgs, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.

nixpkgs (NixOS/nixpkgs)

Searching Database…

26.5K ·GitHub
这是什么?Nixpkgs 是一个包含超过 14 万个软件包的集合,可以通过 Nix 包管理器安装这些软件包;它还实现了 NixOS,这是一个基于这些软件包构建的纯函数式 Linux 发行版。
这是 Nix 包管理器本身,还是基于它构建的东西?这个仓库不是包管理器本身,而是庞大的 Nix 表达式集合(包括软件包定义、构建脚本和 NixOS 模块)。独立的 Nix 包管理器正是用它们来实际构建和安装软件;NixOS 则是由这些内容组装而成的完整 Linux 发行版。
我到底要怎样从 Nixpkgs 安装软件?这个仓库本身没有安装程序:你需要先安装 Nix 包管理器(参见 Nix Package Manager Manual),然后要么按照 NixOS Manual 将 NixOS 安装为你的操作系统,要么直接在现有系统上从 Nixpkgs 单独拉取软件包。
我需要先安装 Nix 包管理器吗?需要。Nixpkgs 中的 14 万多个软件包都只能通过 Nix 包管理器使用,因此必须先安装 Nix,才能从这个仓库获取任何内容。
MIT 许可证是否涵盖我通过它安装的软件包?不涵盖。MIT 许可证只适用于本仓库中的文件(Nix 表达式、构建脚本、NixOS 模块);实际构建出的软件包则受各自上游项目自己的许可证约束。
Nix、Nixpkgs 和 NixOS 之间有什么区别?Nix 是纯函数式的包管理器本身;Nixpkgs(即本仓库)是它用来构建软件的、包含超过 14 万个软件包定义的集合;NixOS 则是基于二者组装而成的完整 Linux 发行版。
软件包在发布前是如何测试的?Hydra 是项目的持续集成系统,它为 unstable/master 分支以及每个 NixOS 版本构建并测试软件包,将成功的产物发布到二进制缓存,并通过 Nix channels 分发。
What are similar projects?home-manager, nix, omnibin, pipx, fpm, talos, reinstall, terraform
Creator
NixOS
Size
3.3 GB
Stars
26.5K
Updated
CommitOct 17
Age
14y
Commits · 90 Days