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.
This commit is contained in:
parent
5a28a1a94c
commit
58f2f6f12d
5 changed files with 27 additions and 12 deletions
5
presentations/bootstrapping-2018/README.md
Normal file
5
presentations/bootstrapping-2018/README.md
Normal file
|
@ -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/).
|
|
@ -1,8 +1,10 @@
|
|||
# This derivation builds the LaTeX presentation.
|
||||
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
{ 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/
|
||||
'';
|
||||
}
|
||||
|
|
BIN
presentations/bootstrapping-2018/presentation.pdf
Normal file
BIN
presentations/bootstrapping-2018/presentation.pdf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue