Nix (package manager)/zh-hans: Difference between revisions

Loxodoromy (talk | contribs)
Created page with "=== 配置 === 在NixOS上,Nix可通过[https://search.nixos.org/options?query=nix. <code>nix</code>选项]配置。"
Tags: Mobile edit Mobile web edit
Loxodoromy (talk | contribs)
Created page with "==== 有效的Nix存储名称 ===="
 
(2 intermediate revisions by the same user not shown)
Line 64: Line 64:
为Nix配置沙盒化,在<code>/etc/nix/nix.conf</code>里设置<code>sandbox = true</code>。为NixOS配置沙盒化,在<code>configuration.nix</code>里设置<code>nix.useSandbox = true;</code>。从NixOS 17.09开始,<code>nix.useSandbox</code>选项默认为<code>true</code>
为Nix配置沙盒化,在<code>/etc/nix/nix.conf</code>里设置<code>sandbox = true</code>。为NixOS配置沙盒化,在<code>configuration.nix</code>里设置<code>nix.useSandbox = true;</code>。从NixOS 17.09开始,<code>nix.useSandbox</code>选项默认为<code>true</code>


<div lang="en" dir="ltr" class="mw-content-ltr">
<span id="Alternative_Interpreters"></span>
=== Alternative Interpreters ===
=== 可选的解释器 ===
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
一项用Rust从零开始重新实现Nix的工作正在进行。
There is an ongoing effort to reimplement Nix, from the ground up, in Rust.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 76: Line 73:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
Nix 2.18有一个名叫Lix的社区领导分支,专注于正确性、易用性和成长性。尽管它也将一些Nix组件移植到Rust,它不是Tvix那样从零开始的重写版本。
There is also a community-led fork of Nix 2.18 named Lix, focused on correctness, usability, and growth. While it has also ported some components of Nix to Rust, it is not a ground-up rewrite like Tvix.
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
Line 84: Line 79:
</div>
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
更早的尝试可在riir-nix找到
Earlier attempts can be found on [https://riir-nix.github.io/ riir-nix]
</div>


<div lang="en" dir="ltr" class="mw-content-ltr">
== 备注 ==
==Notes==
<references />
<references />
</div>