Nix package manager/zh-tw: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

10 March 2025

  • curprev 06:5306:53, 10 March 2025X807x talk contribs 5,682 bytes −70 Created page with "早期嘗試就在 [https://riir-nix.github.io/ riir-nix]"
  • curprev 06:5306:53, 10 March 2025X807x talk contribs 5,752 bytes −56 Created page with "* [https://lix.systems/ lix]"
  • curprev 06:5206:52, 10 March 2025X807x talk contribs 5,808 bytes −56 Created page with "* [https://cs.tvl.fyi/depot/-/tree/tvix tvix]"
  • curprev 06:5206:52, 10 March 2025X807x talk contribs 5,864 bytes −67 Created page with "沙盒在 Linux 上預設是開啟的,在 MacOS 上則否。 在 [https://github.com/NixOS/nixpkgs/ Nixpkgs] 的提取請求 (pull request) 中,請開啟沙盒模式進行測試(請見 <code>使用沙盒進行測試</code> 在提取請求模版),因為在 [https://nixos.org/hydra/ 官方 Hydra 建設] 中,沙盒會被使用的。"
  • curprev 06:5106:51, 10 March 2025X807x talk contribs 5,931 bytes −32 Created page with "百科 Category:Nix 未完成 軟體"
  • curprev 06:5106:51, 10 March 2025X807x talk contribs 5,963 bytes −55 Created page with "==註記== <references />"
  • curprev 06:4906:49, 10 March 2025X807x talk contribs 6,018 bytes −69 Created page with "有一個社群領導的 Nix 2.18 分支叫做 Lix,專注於正確性、可用性和成長性。同時它還為 Nix 部份組件加入 Rust 端口,但不像從零開始重寫的 Tvix。"
  • curprev 06:4406:44, 10 March 2025X807x talk contribs 6,087 bytes −55 Created page with "目前正在進行一項計畫,從零開始使用 Rust 重新實作 Nix。"
  • curprev 06:4306:43, 10 March 2025X807x talk contribs 6,142 bytes −18 Created page with "=== 替代的直譯器 ===" Tags: Mobile edit Mobile web edit
  • curprev 06:4206:42, 10 March 2025X807x talk contribs 6,160 bytes −79 Created page with "要設定 Nix 沙盒,設定 <code>sandbox = true</code> 在 <code>/etc/nix/nix.conf</code>;設定 NixOS 沙盒,設定 <code>nix.useSandbox = true;</code> 在 <code>configuration.nix</code>。 <code>nix.useSandbox</code> 預設為 <code>true</code> 自從 NixOS 17.09。"
  • curprev 06:3306:33, 10 March 2025X807x talk contribs 6,239 bytes −126 Created page with "當啟用沙盒時,Nix 會建立獨立的環境給每個建造過程。這用於刪除更多建造環境的隱藏的依賴組來增加可再線性。這包括在建造過程中禁止訪問網路(除了 fetch* 函數)以及禁止讀取 Nix 商店之外的文件。根據不同的作業系統,對其他資源的讀取也會被封鎖(例如,Linux 中進程間通信會被隔離);更多細節請看 [https://nixos.org/nix/manual/#sec-conf-file nix.conf 段落]..."
  • curprev 03:0303:03, 10 March 2025X807x talk contribs 6,365 bytes −20 Created page with "=== 沙盒 (Sandbox) ==="
  • curprev 03:0303:03, 10 March 2025X807x talk contribs 6,385 bytes +120 Created page with "為了構建一個一致的用戶和系統設定,Nix 連結 Nix 商店入口進入 ''設定檔 (profile)'' 中。這些是 Nix 進行回滾的前端:由於商店是不可變的且保留先前版本的設定文件,將系統還原到先前的狀態只是簡單地將符號連結更改為先前的設定。更精確來說,Nix 將二進位檔案符號連結到 Nix 商店中的入口,這些入口代表了使用者環境。這些用戶環境隨後被符號連結到儲..."
  • curprev 02:5102:51, 10 March 2025X807x talk contribs 6,265 bytes −61 Created page with "更多設定可用 管家 (Home Manager) 來管理宣告式環境給一個用戶。對於系統級的 Linux 設定,你可以使用 [https://github.com/numtide/system-manager 系統管家 (System Manager)]。對於系統級的 MacOS 設定, [https://github.com/LnL7/nix-darwin nix-darwin] 是一個推薦的解方。"
  • curprev 02:3402:34, 10 March 2025X807x talk contribs 6,326 bytes −16 Created page with "=== 設定檔 (Profiles) ===" Tags: Mobile edit Mobile web edit
  • curprev 02:3402:34, 10 March 2025X807x talk contribs 6,342 bytes −107 Created page with "由 Nix 建立的軟體套件會被放在唯讀的 ''Nix 商店'' 中,通常在 <code>/nix/store</code> 中。每個套件都有一個獨一無二的地址由加密的雜湊和套件名稱、版本構成,例如: <code>/nix/store/nawl092prjblbhvv16kxxbk6j9gkgcqm-git-2.14.1</code>。這些前綴將建造過程的輸入,包含原始碼當暗、整個相依樹、編譯器選項等等。這讓 Nix 可以同時安裝不同版本的相同套件,甚至同個版本的..."
  • curprev 02:1902:19, 10 March 2025X807x talk contribs 6,449 bytes −26 Created page with "=== Nix 商店 ==="
  • curprev 02:1802:18, 10 March 2025X807x talk contribs 6,475 bytes −24 Created page with "== 內部組成 =="
  • curprev 02:1302:13, 10 March 2025X807x talk contribs 6,499 bytes −125 Created page with "獨立 Nix 由 <code>nix.conf</code>(通常在 <code>/etc/nix/</code> 被找到)設定,它定義一系列關於評估、建造、資源回收、沙盒及用戶權限的設定。更多細節就在 [https://nixos.org/manual/nix/stable/command-ref/conf-file Nix 參考手冊] 中。"
  • curprev 02:0702:07, 10 March 2025X807x talk contribs 6,624 bytes −65 Created page with "=== 系統設定 === 在 NixOS,Nix 是由 [https://search.nixos.org/options?query=nix. <code>nix</code> 選項] 設定。"
  • curprev 02:0402:04, 10 March 2025X807x talk contribs 6,689 bytes −95 Created page with "Nix 指令 的說明在 [https://nixos.org/manual/nix/stable/command-ref/command-ref Nix 參考手冊]: 主要指令、用途和實驗性指令。 在 2.0 版本(於 2018 年二月釋出)以前有不同的指令。"
  • curprev 01:5801:58, 10 March 2025X807x talk contribs 6,784 bytes −26 Created page with "=== Nix 指令 ==="
  • curprev 01:5801:58, 10 March 2025X807x talk contribs 6,810 bytes −87 Created page with "如果你打算使用 Nix 並在不同的 Linux 發行版或蘋果電腦上,那你可以進行獨立安裝:[https://nixos.org/manual/nix/stable/installation/installation Nix 手冊中的安裝階段] 說明的如何從二進檔或原始碼進行獨立 Nix 安裝。"
  • curprev 01:5301:53, 10 March 2025X807x talk contribs 6,897 bytes −65 Created page with "=== 安裝 === NixOS: Nix 已經在你安裝 NixOS 時被安裝。"
  • curprev 01:5201:52, 10 March 2025X807x talk contribs 6,962 bytes −30 Created page with "== 用法 =="
  • curprev 01:5201:52, 10 March 2025X807x talk contribs 6,992 bytes −133 Created page with "Nix 是一個軟體包管理器和建造系統,它會分析可重現的建造指令由 Nix 表達式語言 撰寫 (一個純函式化的延遲求值語言)。Nix 表達式是純函式的<ref>數值在計算過程中不能改變。 函式總是輸出相同的值只要他們的輸入不變。</ref>,將依賴當作變數並產生一個 ''衍生物'' 為套件指定一個可重現的建置環境。 Nix 將建成的結果儲..."

8 March 2025