|
|
(24 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <div lang="en" dir="ltr" class="mw-content-ltr"> | | <languages/> |
| '''Nixpkgs''' is the largest repository of [[Nix]] packages and [[NixOS]] modules. The repository is [https://github.com/nixos/nixpkgs hosted on GitHub] and maintained by the community, with official backing from the [[NixOS Foundation]]. | | '''Nixpkgs''' 是最大的 [[Nix]] 軟體包儲存庫和 [[NixOS]] 模組。儲存庫 [https://github.com/nixos/nixpkgs 託管在 GitHub 上] 並且由社群維護,另外還有 [[NixOS Foundation]] 的官方支持。 |
| </div>
| |
|
| |
|
| <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 釋出[https://nixos.org/blog/announcements/2024/nixos-2411/ 發布會]所強調的,''「NixOS 已經被認為是 [https://repology.org/repositories/statistics/newest 最即時更新的發行版] 和 [https://repology.org/repositories/statistics/total 最多軟體包的發行版]。」'' 這歸功於社群的持續貢獻使 Nixpkgs 成為最重要且最強大的 Linux 軟體包儲存庫。 |
| As highlighted in [https://nixos.org/blog/announcements.html#21.05 the announcement] of the NixOS 21.05 release, ''"NixOS is already known as [https://repology.org/repositories/statistics/newest the most up to date distribution] and is [https://repology.org/repositories/statistics/total in the top three by total number of 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> 的文章: |
| There are a number of articles especially related to working with <tt>nixpkgs</tt>:
| | {{Special:PrefixIndex/Nixpkgs/ |hideredirects=1 |stripprefix=1 |translate-hidetranslations=1}} |
| {{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=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|頻道分支}} |
| {{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 server]]、[[KDE]]、不同的視窗系統和低階的細節例如 [[Bootloader|啟動程式 (bootloader)]] 和運行 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]] 用戶都可以使用穩定頻道(参见 https://status.nixos.org/ 获取当前频道)以仅接收修复关键漏洞和安全问题的保守更新。穩定頻道半年會释出一次,分别在五月底和十一月底。 |
| Both [[NixOS]] and [[Nix]] users can use stable channel branches - the latest being {{nixos:latest}} - 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]] |