NixOS/zh: Difference between revisions

Weijia (talk | contribs)
Created page with "[https://nixos.org/ NixOS] 是一个基于 Nix 包管理器与构建系统的 Linux 发行版。它支持[https://en.wikipedia.org/wiki/Declarative_programming 声明式]的系统级[https://en.wikipedia.org/wiki/Configuration_management 配置管理]以及[https://en.wikipedia.org/wiki/Atomicity_(database_systems) 原子化]升级和回滚,同时它仍支持[https://en.wikipedia.org/wiki/Imperative_programming 命令式]的包管理和用户..."
Tags: Mobile edit Mobile web edit
Weijia (talk | contribs)
Created page with "由于 Nix 使用了[https://en.wikipedia.org/wiki/Executable 二进制]缓存机制,这便为面向二进制分发(如 Debian)和面向[https://en.wikipedia.org/wiki/Source_code 源码]分发(如 Gentoo)的方法提供了一种独特的折中方案。预编译的二进制程序被视作标准组件,在其无法获取时,自助编译的软件包与模块将被自动构建。"
Tags: Mobile edit Mobile web edit
Line 5: Line 5:
[https://nixos.org/ NixOS] 是一个基于 [[Special:MyLanguage/Nix|Nix]] 包管理器与构建系统的 Linux 发行版。它支持[https://en.wikipedia.org/wiki/Declarative_programming 声明式]的系统级[https://en.wikipedia.org/wiki/Configuration_management 配置管理]以及[https://en.wikipedia.org/wiki/Atomicity_(database_systems) 原子化]升级和回滚,同时它仍支持[https://en.wikipedia.org/wiki/Imperative_programming 命令式]的包管理和用户管理。在 NixOS 中,发行版的所有组件 — 包括[https://en.wikipedia.org/wiki/Linux_kernel 系统内核]、已安装的[https://en.wikipedia.org/wiki/Package_manager 软件包]和系统配置文件 — 均由 [[Special:MyLanguage/Nix|Nix]] 从被称为 [[Special:MyLanguage/Nix Expression Language|Nix 表达式]] 的[[Wikipedia:Pure function|纯函数]]中构建。
[https://nixos.org/ NixOS] 是一个基于 [[Special:MyLanguage/Nix|Nix]] 包管理器与构建系统的 Linux 发行版。它支持[https://en.wikipedia.org/wiki/Declarative_programming 声明式]的系统级[https://en.wikipedia.org/wiki/Configuration_management 配置管理]以及[https://en.wikipedia.org/wiki/Atomicity_(database_systems) 原子化]升级和回滚,同时它仍支持[https://en.wikipedia.org/wiki/Imperative_programming 命令式]的包管理和用户管理。在 NixOS 中,发行版的所有组件 — 包括[https://en.wikipedia.org/wiki/Linux_kernel 系统内核]、已安装的[https://en.wikipedia.org/wiki/Package_manager 软件包]和系统配置文件 — 均由 [[Special:MyLanguage/Nix|Nix]] 从被称为 [[Special:MyLanguage/Nix Expression Language|Nix 表达式]] 的[[Wikipedia:Pure function|纯函数]]中构建。


<div lang="en" dir="ltr" class="mw-content-ltr">
由于 Nix 使用了[https://en.wikipedia.org/wiki/Executable 二进制]缓存机制,这便为面向二进制分发(如 Debian)和面向[https://en.wikipedia.org/wiki/Source_code 源码]分发(如 Gentoo)的方法提供了一种独特的折中方案。预编译的二进制程序被视作标准组件,在其无法获取时,自助编译的软件包与模块将被自动构建。
Since Nix uses [https://en.wikipedia.org/wiki/Executable binary] caching, this provides a unique compromise between the binary-oriented approach used by distributions such as Debian and the [https://en.wikipedia.org/wiki/Source_code source]-oriented approach used by distributions such as Gentoo. Binaries can be used for standard components, and custom-built packages and modules can be used automatically when a pre-built binary is not available.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">