| 
				     | 
				
| (19 intermediate revisions by 2 users not shown) | 
| Line 1: | 
Line 1: | 
 |  | <languages/>  | 
 | '''Nixpkgs''' 是最大的 [[Nix]] 軟體包儲存庫和 [[NixOS]] 模組。儲存庫 [https://github.com/nixos/nixpkgs 託管在 GitHub 上] 並且由社群維護,另外還有 [[NixOS Foundation]] 的官方支持。  |  | '''Nixpkgs''' 是最大的 [[Nix]] 軟體包儲存庫和 [[NixOS]] 模組。儲存庫 [https://github.com/nixos/nixpkgs 託管在 GitHub 上] 並且由社群維護,另外還有 [[NixOS Foundation]] 的官方支持。  | 
 | 
  |  | 
  | 
 | 尋找可用的套件和選項,請看 [[Searching packages|尋找套件]]。  |  | 尋找可用的套件和選項,請看 [[Searching packages|尋找套件]]。  | 
 | 
  |  | 
  | 
 | 如同在 NixOS 21.05 釋出 [https://nixos.org/blog/announcements.html#21.05  發布會] 所強調的,''「NixOS 已經被認為是 [https://repology.org/repositories/statistics/newest 最即時更新的發行版] 和 [https://repology.org/repositories/statistics/total 第三多軟體包的發行版]。」'' 這歸功於社群的持續貢獻使 Nixpkgs 成為最重要且最強大的 Linux 軟體包儲存庫。  |  | 如同在 NixOS 24.11 釋出[https://nixos.org/blog/announcements/2024/nixos-2411/ 發布會]所強調的,''「NixOS 已經被認為是 [https://repology.org/repositories/statistics/newest 最即時更新的發行版] 和 [https://repology.org/repositories/statistics/total 最多軟體包的發行版]。」'' 這歸功於-{zh-hans:社区; zh-hant:社群}-的持續貢獻使 Nixpkgs 成為最重要且最強大的 Linux 軟體包儲存庫。  | 
 | 
  |  | 
  | 
 | <span id="Subpages"></span>  |  | <span id="Subpages"></span>  | 
 | == 子頁面 ==  |  | == 子頁面 ==  | 
 | 
  |  | 
  | 
 | 這裡有一系列的文章關於操作 <tt>nixpkgs</tt>:  |  | 這裡有一系列關於操作 <tt>nixpkgs</tt> 的文章:  | 
 | {{Special:PrefixIndex/{{FULLPAGENAME}}/ |hideredirects=1 |stripprefix=1}}  |  | {{Special:PrefixIndex/Nixpkgs/ |hideredirects=1 |stripprefix=1 |translate-hidetranslations=1}}  | 
 | 
  |  | 
  | 
 | <span id="Releases"></span>  |  | <span id="Releases"></span>  | 
 | == 釋出版本 ==  |  | == 釋出版本 ==  | 
 | 
  |  | 
  | 
 | <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]]  |