nix-tutorials
nix-tutorials copied to clipboard
Tutorials for Nix and Nixpkgs. Note so far it is a proof of concept.
The [public binder](https://mybinder.org/v2/gh/FRidh/nix-tutorials/master), as documented in the README, fails to build the environment: ``` line 813: /build/env-vars: No such file or directory variable $src or $srcs should point to the...
No need to do the whole nbsphinx thing then anymore. https://jupyterbook.org Example https://github.com/NixOS/nixpkgs/pull/105036.
Maybe invoke https://mybinder.org/v2/gh/FRidh/nix-tutorials/master at the end of the pipeline so Binder has an image cached.
``` /nix/store/rm1hz1lybxangc8sdl7xvzs5dcvigvf7-bash-4.4-p23/bin/sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) ```
Unfortunately nbconvert is broken...
Currently the binder link points to the repo root. An index page is needed, like is done with Sphinx.
For when developing outside of a container and executing the notebooks.
Use the bash kernel so we do not need to prefix every command with `!`. https://github.com/takluyver/bash_kernel
When developing the tutorials one needs to execute the notebooks. This is done impurely, and to prevent causing too much damage we should do this in a container or VM....