Flakes/zh: Difference between revisions

Weijia (talk | contribs)
Created page with "=== 启用非自由软件 ==="
Tags: Mobile edit Mobile web edit
Weijia (talk | contribs)
Created page with "为了在 flake 项目中允许使用 非自由软件,您需要在导入 Nixpkgs 时通过设置 <code>config.allowUnfree = true;</code> 来明确允许它。"
Line 341: Line 341:
=== 启用非自由软件 ===
=== 启用非自由软件 ===


<div lang="en" dir="ltr" class="mw-content-ltr">
为了在 flake 项目中允许使用 [[Unfree software|非自由软件]],您需要在导入 Nixpkgs 时通过设置 <code>config.allowUnfree = true;</code> 来明确允许它。
To allow for [[Unfree software|unfree software]] in a flake project, you need to explicitly allow it by setting <code>config.allowUnree = true;</code> when importing Nixpkgs.
</div>


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