|
|
(14 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| <languages/> | | <languages/> |
| '''Nixpkgs'''是最大的Nix包仓库和NixOS模块。该仓库存储在GitHub上,由社区维护,并得到[[NixOS Foundation|NixOS基金会]]的官方支持 | | '''Nixpkgs'''是最大的Nix包仓库和NixOS模块。该仓库存储在GitHub上,由社区维护,并得到[[NixOS Foundation|NixOS基金会]]的官方支持。 |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 搜索可用的包和选项,见[[Searching packages|搜索包]]。 |
| To search among available packages and options, see [[Searching packages]].
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 正如NixOS 24.11发行公告所强调的,''“NixOS已经被认为是最与时俱进的发行版和包最多的发行版”。''Nixpkgs能成为杰出的Linux包仓库,归功于社区的持续贡献。 |
| As highlighted in [https://nixos.org/blog/announcements/2024/nixos-2411/ the announcement] of the NixOS 24.11 release, ''"NixOS is already known as [https://repology.org/repositories/statistics/newest the most up to date distribution] while also being [https://repology.org/repositories/statistics/total the distribution with the most packages]."'' This is thanks to the community's continued dedication to making Nixpkgs the preeminent Linux package repository.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Subpages"></span> |
| == Subpages == | | == 子页面 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 这里有一些关于操作<tt>nixpkgs</tt>的文章:{{Special:PrefixIndex/Nixpkgs/ |hideredirects=1 |stripprefix=1 |translate-hidetranslations=1}} |
| There are a number of articles especially related to working with <tt>nixpkgs</tt>:
| |
| {{Special:PrefixIndex/Nixpkgs/ |hideredirects=1 |stripprefix=1 |translate-hidetranslations=1}} | |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Releases"></span> |
| == Releases == | | == 发行版本 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| |
| {{main|Channel branches}} | | {{main|Channel branches}} |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 托管在Nixpkgs上的包和模块通过多个[[channel branches|频道分支]]分发,以供特定用途。实际上,它们的区别在于更新必须在官方[https://nixos.org/hydra/manual/#idm140737315980672 nixos.org Hydra实例]上通过的测试等级,以及它们的更新数量。 |
| The packages and modules hosted on Nixpkgs are distributed through various [[channel branches]] intended for particular use-cases. In practice they are differentiated by the level of testing updates must pass on the official [https://nixos.org/hydra/manual/#idm140737315980672 nixos.org Hydra instance] and the number of updates they receive.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 对于[[NixOS]]用户,<code>nixos-unstable</code>频道分支是滚动发行版,包通过构建测试和[[NixOS VM tests|虚拟机上的集成测试]],并通过操作系统方面的测试(这意味着测试对象还有[[Xorg|X服务器]]、[[KDE]]、各种服务器和低级细节如安装[[Bootloader|引导加载程序(bootloaders)]]和运行NixOS安装步骤之类)。 |
| For [[NixOS]] users, <code>nixos-unstable</code> channel branch is the rolling release, where packages pass build tests and [[NixOS VM tests|integration tests on a VM]], and are tested from the perspective of being an operative system (this means things like the [[Xorg|X server]], [[KDE]], various servers, and lower level details like installing [[Bootloader|bootloaders]] and running the NixOS installation steps are also tested).
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 对于独立[[Nix]]用户,<code>nixpkgs-unstable</code>频道分支是滚动发行版,包只通过基本的构建测试,持续更新。 |
| For standalone [[Nix]] users, <code>nixpkgs-unstable</code> channel branch is the rolling release, where packages pass only basic build tests and are upgraded continuously.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | [[NixOS]]和[[Nix]]用户都可以使用稳定(stable)频道分支(见 https://status.nixos.org/ 获取当前频道)以只接受修复关键漏洞和安全隐患的保守更新。稳定频道分支在五月底和十一月底各发行一次。 |
| Both [[NixOS]] and [[Nix]] users can use stable channel branches (see https://status.nixos.org/ for the current channels) to receive only conservative updates for fixing critical bugs and security vulnerabilities. Stable channel branches are released bi-annually at the end of May and the end of November.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 在NixOS上使用稳定频道,用户体验可与其他Linux发行版相媲美。 |
| Using stable channels on NixOS is comparable to the user experience on other Linux distributions.
| |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <span id="Alternatives"></span> |
| == Alternatives == | | == 替代品 == |
| </div>
| |
|
| |
|
| <div lang="en" dir="ltr" class="mw-content-ltr">
| | 由于Nixpkgs''只是''Nix表达式,你可以用你自己的来源扩展或替换逻辑。 |
| Due to the fact that Nixpkgs is ''only'' a Nix expression, it is possible to extend or replace the logic with your own sources.
| | 事实上,有一些对Nixpkgs的扩展和完全替代,见[[Alternative Package Sets|可选的包集合]]文章。 |
| In fact, there are a number of extensions as well as complete replacements for Nixpkgs, see the [[Alternative Package Sets]] article.
| |
| </div>
| |
|
| |
|
| [[Category:Pedias]] | | [[Category:Pedias]] |