You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is an overview of prominent/relevant tutorials/overviews of the Nix language, including the Nix manual itself, and which language features (and peculiarities) they describe or mention.
- function argument patterns do not have separate sections
- function application is never shown explicitly (only in large example)
- fairly good explanation of language features
- is incomplete (not counting references to nixpkgs)!
- expressions are sometimes incorrectly called statements
- everything is a runnable example
- no comments, examples are probably to be used as lecture slides
- (attribute) sets are called objects
- update is called merge
- uses repl state indiscriminately
- result of import is called module
- some runnable examples
- examples and exercises
- imports <nixpkgs> out of thin air for Lists exercise
- assignments are called variable bindings
- with is called a statement
- nixpkgs manual is called Nix manual
- mentions some idioms from nixpkgs and calls them Nix idioms
- assignment is called variable definition
- language constructs are called control structures
Activity
fricklerhandwerk commentedon Jul 6, 2022
@garbas says this is top priority from marketing perspective
fricklerhandwerk commentedon Jul 7, 2022
nixos-discourse commentedon Jul 7, 2022
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2022-07-07-documentation-team-meeting-notes-4/20198/1
fricklerhandwerk commentedon Aug 9, 2022
Here is an overview of prominent/relevant tutorials/overviews of the Nix language, including the Nix manual itself, and which language features (and peculiarities) they describe or mention.
<...>Search path Angle bracket syntaxrec.Attribute access Attribute selection.or//Update Merge?Has attribute Test+++++==Equality!=Inequality!Negation Boolean negationif ... else ... thenConditional Conditional expressionifexpressionlet ... inletexpressionletbindingwithwithexpressionwithkeywordinheritinheritingassertthrowtracebuiltinsoverviewnixpkgs/liboverviewpkgsoverviewpkgs.stdenv.mkDerivationderivationimportseqtoFilereadFilepathfetchurlfetchTarballlistToAttrsmapfoldl'hasAttrintersectAttrsfromJSONtryEval@syntax- function application is never shown explicitly (only in large example)
- fairly good explanation of language features
- is incomplete (not counting references to
nixpkgs)!- no comments, examples are probably to be used as lecture slides
- (attribute) sets are called objects
- update is called merge
- uses repl state indiscriminately
- result of import is called module
- imports
<nixpkgs>out of thin air for Lists exercise- with is called a statement -
nixpkgsmanual is called Nix manual- mentions some idioms from
nixpkgsand calls them Nix idioms- language constructs are called control structures
nixos-discourse commentedon May 16, 2023
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/2023-05-15-documentation-team-meeting-notes-48/28221/1