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> | ||
< | <span id="Alternative_Interpreters"></span> | ||
=== | === 可选的解释器 === | ||
一项用Rust从零开始重新实现Nix的工作正在进行。 | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Line 76: | Line 73: | ||
</div> | </div> | ||
Nix 2.18有一个名叫Lix的社区领导分支,专注于正确性、易用性和成长性。尽管它也将一些Nix组件移植到Rust,它不是Tvix那样从零开始的重写版本。 | |||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
Line 84: | Line 79: | ||
</div> | </div> | ||
更早的尝试可在riir-nix找到 | |||
== 备注 == | |||
<references /> | <references /> | ||