tour_of_nix
tour_of_nix copied to clipboard
Sourcecode to the https://nixcloud.io/tour/ 'a tour of nix'
Using the awesome work from @tomberek aka Thomas Bereknyei we can adapt to a newer version of nix in the tour: To try it out: try {Module.ccall("main_nix_instantiate2","string",["string"],["let\n c = 2;...
we could use localStorage so that page reloads won't use your answers. https://blog.logrocket.com/localstorage-javascript-complete-guide/#localstorage-vs-cookies * []storage local answers * [] updates on questions.json will reset parts of that * [] add...
Inspired by https://www.linkedin.com/posts/luca-palmieri_eurorust-rust-eurorust-activity-7117045327697711104-Mclz?utm_source=share&utm_medium=member_desktop i could use nixt to make the tour better. https://github.com/nix-community/nixt
When doing debugging in nix one uses `builtins.trace` but the tour currently prints the output to the F12 console and the user can't easily access this. ``` with import {...
Navigation on site is very uneasy on mobile. Find the Next/Prev buttons: 
https://github.com/NixOS/nixpkgs/tree/master/lib this could be split into: - modules - option - types
the tour of nix is about 'nix' programming and it shows [builtins](https://nixos.org/manual/nix/stable/language/builtins.html) and sometimes lib functions (from nixpkgs import). this here focues more on **builtins**: ## nix-repl * [break v](https://nixos.org/manual/nix/stable/language/builtins.html#builtins-break)...