Jump to content

Nix (语言)

From NixOS Wiki
Revision as of 18:12, 28 August 2025 by Weijia (talk | contribs) (Created page with "{{Navbox Nix}} {{Disambiguation|message=本文介绍的是 Nix 语言本身。请勿与 Nix 生态系统Nix 包管理器Nix 命令混淆。}}{{Expand|scope=article}}")
Introduction to Nix

Tools and applications

⤧︎
Disambiguation: 本文介绍的是 Nix 语言本身。请勿与 Nix 生态系统Nix 包管理器Nix 命令混淆。
☶︎
This article needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

The Nix language is designed for conveniently creating and composing derivations – precise descriptions of how contents of existing files are used to derive new files.

Note: Check the Nix Reference Manual on the Nix Language for up-to-date documentation and Nix language basics for a gentle introduction.

The .nix files are written in the Nix language. While being a NixOS user doesn't demand complete mastery of Nix, customizing code snippets is necessary.