Nix (package manager)/zh: Difference between revisions
Created page with "== 备注 == <references />" |
No edit summary |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 55: | Line 55: | ||
=== 沙盒 === | === 沙盒 === | ||
启用沙盒构建后,Nix 将为每个构建过程设置一个隔离环境。这用于移除构建环境中的的其它隐藏依赖项,以提高构建结果的可复现性。这包括在构建过程中对 <code>fetch*</code> 函数之外的网络访问,以及对 Nix Store 之外的文件访问的不可行。根据操作系统的不同,对其他资源的访问也会被阻止(例如,在 Linux 上,进程间通信也是被隔离的)。 | |||
沙盒在 Linux 上預設是開啟的,在 macOS 上則否。 | 沙盒在 Linux 上預設是開啟的,在 macOS 上則否。 | ||
| Line 79: | Line 79: | ||
[[Category:Pedias]] | [[Category:Pedias]] | ||
[[Category:Nix]] | [[Category:Nix]] | ||
[[Category:Incomplete]] | [[Category:Incomplete]] | ||
[[Category:Software]] | [[Category:Software]] | ||