Commit f1d04d17 authored by Florian Franzen's avatar Florian Franzen
Browse files

runtime-spec: switch to custom texlive env

parent 279d1169
......@@ -21,6 +21,13 @@ let
rustc = rustWasm;
cargo = rustWasm;
};
# Custom texlive environment
texlive-spec = callPackage ./support/texlive.nix {
extraTexPackages = {
inherit (texlive) latexmk algorithms algorithmicx luacode;
};
};
};
# Dependency derivations (buildable)
......
{ polkadot-spec, stdenv, texlive, plantuml, graphviz }:
{ polkadot-spec, stdenv, texlive-spec, plantuml, graphviz }:
stdenv.mkDerivation rec {
name = "polkadot-runtime-spec-${version}.pdf";
......@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sourceRoot = "source/runtime-spec";
nativeBuildInputs = [
texlive.combined.scheme-full # Create custom scheme?
texlive-spec
plantuml
graphviz
];
......
# Generated with tex2nix 0.0.0
{ texlive, extraTexPackages ? {} }:
(texlive.combine ({
inherit (texlive) scheme-small;
"kvoptions" = texlive."kvoptions";
"intcalc" = texlive."intcalc";
"atveryend" = texlive."atveryend";
"xkeyval" = texlive."xkeyval";
"xargs" = texlive."xargs";
"graphics" = texlive."graphics";
"hyperref" = texlive."hyperref";
"hycolor" = texlive."hycolor";
"rerunfilecheck" = texlive."rerunfilecheck";
"amsmath" = texlive."amsmath";
"refcount" = texlive."refcount";
"pdftexcmds" = texlive."pdftexcmds";
"geometry" = texlive."geometry";
"bitset" = texlive."bitset";
"minitoc" = texlive."minitoc";
"gettitlestring" = texlive."gettitlestring";
"infwarerr" = texlive."infwarerr";
"collectbox" = texlive."collectbox";
"xcolor" = texlive."xcolor";
"kvsetkeys" = texlive."kvsetkeys";
"iftex" = texlive."iftex";
"adjustbox" = texlive."adjustbox";
"fancyvrb" = texlive."fancyvrb";
"pdfescape" = texlive."pdfescape";
"atbegshi" = texlive."atbegshi";
"plantuml" = texlive."plantuml";
"kvdefinekeys" = texlive."kvdefinekeys";
"url" = texlive."url";
"ltxcmds" = texlive."ltxcmds";
"letltxmacro" = texlive."letltxmacro";
"auxhook" = texlive."auxhook";
"capt-of" = texlive."capt-of";
"pgf" = texlive."pgf";
"etexcmds" = texlive."etexcmds";
"uniquecounter" = texlive."uniquecounter";
} // extraTexPackages))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment