From 0c90f9d717806f74fed79e1c26ee094654d506ba Mon Sep 17 00:00:00 2001
From: Justin Bedo <cu@cua0.org>
Date: Wed, 4 Nov 2020 16:18:59 +1100
Subject: port example from paper

---
 slides.tex | 32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

(limited to 'slides.tex')

diff --git a/slides.tex b/slides.tex
index 74896e3..ec14f08 100644
--- a/slides.tex
+++ b/slides.tex
@@ -54,7 +54,7 @@
   \end{enumerate}
 \end{frame}
 
-\begin{frame}
+\begin{frame}[label=dag]
   \begin{center}
     \begin{tikzpicture}[->,>=stealth,shorten >=1pt,auto,node distance=2cm,thick]
       \node (a) {align};
@@ -125,10 +125,38 @@
   \end{enumerate}
 \end{frame}  
 
+\begin{frame}
+  \frametitle{What is Nix?}
+  \begin{enumerate}
+    \item Simple configuration language (like JSON + functions)
+    \item Build engine that \emph{realises} \emph{derivations}
+    \item Derivations are complete descriptions for producing build products: all inputs and a build recipe
+    \item Controlled \emph{side effects}\footnote{stuff not captured by the derivation}: none allowed during a build
+    \item Output location unique and determined by hashing the derivation: i.e., hash based version management
+    \item Deterministic $\Rightarrow$ reproducible
+  \end{enumerate}
+\end{frame}
+
+\begin{frame}
+  \frametitle{Example}
+  \begin{minipage}{.4\textwidth}
+  \includegraphics[width=.8\linewidth]{graph}
+  \end{minipage}
+  \begin{minipage}{.55\textwidth}
+  \begin{overprint}
+  \onslide<1>\includegraphics[width=\linewidth]{pipeline}
+  \onslide<2>\includegraphics[width=.75\linewidth]{bwa-stage}
+  \onslide<3>\includegraphics[width=\linewidth]{bwa-drv}
+  \end{overprint}
+  \end{minipage}
+\end{frame}
+
+\againframe<4>{dag}
+
 \begin{frame}
   \frametitle{Demo}
   \pause
-  \includegraphics[width=\linewidth]{graph}
+  \includegraphics[width=\linewidth]{demo-graph}
 \end{frame}
 
 \end{document}
-- 
cgit v1.2.3

