slidenado: just use full texlive

This commit is contained in:
Astro 2019-09-12 18:24:49 +02:00
parent ebaeb804c6
commit 4a7fb53af7
1 changed files with 18 additions and 1 deletions

View File

@ -4,6 +4,22 @@
with pkgs;
let
# expl3 = {
# stripPrefix = 0;
# sha512.run = "9da410140daa41ad40a9ae9c4d3e81253d54077359493d00f1bcce84741cc9ac984f6f06ea89dc8aa5c7b94d93c10c53aec2e56492a410b720aaffd3f497bd68";
# sha512.doc = "3585916d140bcf7c3842e74d239ef3ff406945bf588444bff3da8dd12ead35f6fef8b362ed95e3cbb650054814fd2c2401834c701c8cc8c0ac35a3a15e5508fd";
# hasRunfiles = true;
# version = "2019-09-08";
# pkgs = [];
# };
# latex = texlive.combine {
# inherit (texlive)
# scheme-basic etoolbox babel babel-german
# csquotes comment hyperref media9
# beamer translator metafont ec;
# inherit expl3;
# };
latex = texlive.combined.scheme-full;
presentations =
map (match: builtins.elemAt match 0)
(builtins.filter (match: match != null)
@ -16,7 +32,8 @@ let
stdenv.mkDerivation {
name = "slidenado-${name}";
src = <slidenado>;
buildInputs = [ texlive.combined.scheme-basic ];
buildInputs = [ latex ];
HOME = "/tmp";
makeFlags = [ "presentations/${name}.pdf" ];
postInstall = ''
mkdir -p $out/nix-support