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/default.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'presentations/bootstrapping-2018/default.nix') diff --git a/presentations/bootstrapping-2018/default.nix b/presentations/bootstrapping-2018/default.nix index c4ac8a472a78..28296d8bf3ba 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/ ''; } -- cgit 1.4.1