Jump to content

Translations:Flakes/218/zh: Difference between revisions

From Official NixOS Wiki
Weijia (talk | contribs)
Created page with "为了在 flake 项目中允许使用 非自由软件,您需要在导入 Nixpkgs 时通过设置 <code>config.allowUnfree = true;</code> 来明确允许它。"
 
(No difference)

Latest revision as of 19:30, 28 August 2025

Message definition (Flakes)
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.

为了在 flake 项目中允许使用 非自由软件,您需要在导入 Nixpkgs 时通过设置 config.allowUnfree = true; 来明确允许它。