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
|
@ -32,6 +32,7 @@ let
|
||||||
fun = readTree ./fun;
|
fun = readTree ./fun;
|
||||||
nix = readTree ./nix;
|
nix = readTree ./nix;
|
||||||
ops = readTree ./ops;
|
ops = readTree ./ops;
|
||||||
|
presentations = readTree ./presentations;
|
||||||
third_party = readTree ./third_party;
|
third_party = readTree ./third_party;
|
||||||
tools = readTree ./tools;
|
tools = readTree ./tools;
|
||||||
web = readTree ./web;
|
web = readTree ./web;
|
||||||
|
|
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.
|
# 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)
|
inherit (texlive)
|
||||||
beamer
|
beamer
|
||||||
beamertheme-metropolis
|
beamertheme-metropolis
|
||||||
|
@ -13,14 +15,14 @@ with pkgs; let tex = texlive.combine {
|
||||||
lualibs
|
lualibs
|
||||||
luaotfload
|
luaotfload
|
||||||
luatex
|
luatex
|
||||||
luatex-def
|
|
||||||
minted
|
minted
|
||||||
ms
|
ms
|
||||||
pgfopts
|
pgfopts
|
||||||
scheme-basic;
|
scheme-basic
|
||||||
|
translator;
|
||||||
};
|
};
|
||||||
in stdenv.mkDerivation {
|
in stdenv.mkDerivation {
|
||||||
name = "nuug-reproducible-slides.pdf";
|
name = "nuug-bootstrapping-slides";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
FONTCONFIG_FILE = makeFontsConf {
|
FONTCONFIG_FILE = makeFontsConf {
|
||||||
|
@ -42,6 +44,7 @@ in stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
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.
6
third_party/default.nix
vendored
6
third_party/default.nix
vendored
|
@ -36,6 +36,9 @@ let
|
||||||
emacsPackagesNgGen
|
emacsPackagesNgGen
|
||||||
fetchFromGitHub
|
fetchFromGitHub
|
||||||
fetchurl
|
fetchurl
|
||||||
|
fira
|
||||||
|
fira-code
|
||||||
|
fira-mono
|
||||||
git
|
git
|
||||||
glibc
|
glibc
|
||||||
gnutar
|
gnutar
|
||||||
|
@ -49,6 +52,8 @@ let
|
||||||
lib
|
lib
|
||||||
lispPackages
|
lispPackages
|
||||||
llvmPackages
|
llvmPackages
|
||||||
|
luatex
|
||||||
|
makeFontsConf
|
||||||
makeWrapper
|
makeWrapper
|
||||||
mdbook
|
mdbook
|
||||||
mime-types
|
mime-types
|
||||||
|
@ -76,6 +81,7 @@ let
|
||||||
systemd
|
systemd
|
||||||
tdlib
|
tdlib
|
||||||
terraform_0_12
|
terraform_0_12
|
||||||
|
texlive
|
||||||
thttpd
|
thttpd
|
||||||
tree
|
tree
|
||||||
writeShellScriptBin
|
writeShellScriptBin
|
||||||
|
|
Loading…
Reference in a new issue