Jump to content

Nix (language)

From NixOS Wiki
Revision as of 22:50, 5 October 2017 by imported>Danbst
☶︎
This article or section needs to be expanded. Further information may be found in the related discussion page. Please consult the pedia article metapage for guidelines on contributing.

This discussion article covers the syntax, semantics, typing, compilation, tooling and libraries of the Nix Expression Language.

Learning the Nix language

The manual provides a reference of the Nix language.

Nix By Example is a step-by-step tutorial.

Syntax Highlighting/IDE Support

Nix language has decent syntax highlighting (SH) support among popular code editors, but refactoring/autocomplete is still rare.

Terminal editors

  • nano - simple SH
  • vim ?
  • emacs ?

Code Editors

IDEs