-
-
Notifications
You must be signed in to change notification settings - Fork 291
Open
Labels
trackingA stopgap for issue dependenciesA stopgap for issue dependenciestutorialTopics for new tutorialsTopics for new tutorials
Description
As part of the tutorial series being worked on by the Learning Journey WG we need a tutorial going over the Nix language. We recognize that there's an existing tutorial on nix.dev (Nix language basics). The existing guide is very thorough and we don't want to supplant that guide, but for the purposes of a quick introduction we want a short guide motivated by explaining a real piece of Nix code such as a functioning shell.nix
.
- Prepare an outline of the tutorial
- Prepare a draft of the tutorial
- Submit the draft as a PR
Tutorial contents
- Provide the reader with a functioning
shell.nix
that builds a Python environment - This example should have enough complexity to illustrate basic language features:
- Function definitions (the whole file is a function definition)
- Function application
- Passing anonymous functions as arguments via
python.withPackages
- Variables, lists, attribute sets, etc
- Navigating attribute sets via the dot operator
- etc
How
- Where to put the result: A new file in https://github.com/NixOS/nix.dev/tree/master/source/tutorials
- Person to contact for help:
- Technical: @infinisil
- Editorial: @zmitchell
Metadata
Metadata
Assignees
Labels
trackingA stopgap for issue dependenciesA stopgap for issue dependenciestutorialTopics for new tutorialsTopics for new tutorials