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
13
default.nix
13
default.nix
|
@ -29,12 +29,13 @@ let
|
|||
readTree' = import ./read-tree.nix;
|
||||
|
||||
localPkgs = readTree: {
|
||||
fun = readTree ./fun;
|
||||
nix = readTree ./nix;
|
||||
ops = readTree ./ops;
|
||||
third_party = readTree ./third_party;
|
||||
tools = readTree ./tools;
|
||||
web = readTree ./web;
|
||||
fun = readTree ./fun;
|
||||
nix = readTree ./nix;
|
||||
ops = readTree ./ops;
|
||||
presentations = readTree ./presentations;
|
||||
third_party = readTree ./third_party;
|
||||
tools = readTree ./tools;
|
||||
web = readTree ./web;
|
||||
};
|
||||
in fix(self: {
|
||||
config = config self;
|
||||
|
|
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.
6
third_party/default.nix
vendored
6
third_party/default.nix
vendored
|
@ -36,6 +36,9 @@ let
|
|||
emacsPackagesNgGen
|
||||
fetchFromGitHub
|
||||
fetchurl
|
||||
fira
|
||||
fira-code
|
||||
fira-mono
|
||||
git
|
||||
glibc
|
||||
gnutar
|
||||
|
@ -49,6 +52,8 @@ let
|
|||
lib
|
||||
lispPackages
|
||||
llvmPackages
|
||||
luatex
|
||||
makeFontsConf
|
||||
makeWrapper
|
||||
mdbook
|
||||
mime-types
|
||||
|
@ -76,6 +81,7 @@ let
|
|||
systemd
|
||||
tdlib
|
||||
terraform_0_12
|
||||
texlive
|
||||
thttpd
|
||||
tree
|
||||
writeShellScriptBin
|
||||
|
|
Loading…
Reference in a new issue