From 58f2f6f12da5a7b3bda6fa44d2ae4ffd70a0735e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 21 Dec 2019 01:07:29 +0000 Subject: feat(bootstrapping-2018): Fix build and check in built presentation This lets people browse the folder more easily, should they be so inclined for whatever reason. --- presentations/bootstrapping-2018/README.md | 5 +++++ presentations/bootstrapping-2018/default.nix | 15 +++++++++------ presentations/bootstrapping-2018/presentation.pdf | Bin 0 -> 527371 bytes 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 presentations/bootstrapping-2018/README.md create mode 100644 presentations/bootstrapping-2018/presentation.pdf (limited to 'presentations/bootstrapping-2018') diff --git a/presentations/bootstrapping-2018/README.md b/presentations/bootstrapping-2018/README.md new file mode 100644 index 0000000000..e9573ae3f2 --- /dev/null +++ b/presentations/bootstrapping-2018/README.md @@ -0,0 +1,5 @@ +These are the slides for a talk I gave at the Norwegian Unix User Group on +2018-03-13. + +There is more information and a recording on the [event +page](https://www.nuug.no/aktiviteter/20180313-reproduible-compiler/). diff --git a/presentations/bootstrapping-2018/default.nix b/presentations/bootstrapping-2018/default.nix index c4ac8a472a..28296d8bf3 100644 --- a/presentations/bootstrapping-2018/default.nix +++ b/presentations/bootstrapping-2018/default.nix @@ -1,8 +1,10 @@ # This derivation builds the LaTeX presentation. -{ pkgs ? import {} }: +{ pkgs, ... }: -with pkgs; let tex = texlive.combine { +with pkgs.third_party; + +let tex = texlive.combine { inherit (texlive) beamer beamertheme-metropolis @@ -13,14 +15,14 @@ with pkgs; let tex = texlive.combine { lualibs luaotfload luatex - luatex-def minted ms pgfopts - scheme-basic; + scheme-basic + translator; }; in stdenv.mkDerivation { - name = "nuug-reproducible-slides.pdf"; + name = "nuug-bootstrapping-slides"; src = ./.; FONTCONFIG_FILE = makeFontsConf { @@ -42,6 +44,7 @@ in stdenv.mkDerivation { ''; installPhase = '' - cp presentation.pdf $out + mkdir -p $out + cp presentation.pdf $out/ ''; } diff --git a/presentations/bootstrapping-2018/presentation.pdf b/presentations/bootstrapping-2018/presentation.pdf new file mode 100644 index 0000000000..7f435fe5b5 Binary files /dev/null and b/presentations/bootstrapping-2018/presentation.pdf differ -- cgit 1.4.1