From 6995b3ee07b70636b184ac76f5d1c90032b3ef79 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 3 Oct 2019 22:18:31 +0200 Subject: Fix indentation, add multilineString, add TODO --- slides.md | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/slides.md b/slides.md index 9d8774b..1f09fe0 100644 --- a/slides.md +++ b/slides.md @@ -191,13 +191,17 @@ of the "package function". ```nix { - int = 1; - boolean = true; - string = "hello ${world}!"; - "attribute set" = { a = 1; b = 2; }; - list = [ 1 2 "hello" ]; - function = a: builtins.toString a; - "function w/ named parameters" = { a, b, c ? "default"}: a; + int = 1; + boolean = true; + string = "hello ${world}!"; + multilineString = '' + hello + initial indentation is removed! + ''; + "attribute set" = { a = 1; b = 2; }; + list = [ 1 2 "hello" ]; + function = a: builtins.toString a; + "function w/ named parameters" = { a, b, c ? "default"}: a; } ``` @@ -927,6 +931,7 @@ $ nix build -f default.nix \ - [ ] Add intro? about problems that I had in Buildroot (non-determinism, no auto-recompile) - [ ] Talk about nix-shell +- [ ] Talk about nix-shell scripts - [ ] Talk about nixops - [ ] Talk about choosing generation at boot - [ ] Have a functional programming intro -- cgit v1.2.3