nixpkgs/pkgs/misc/tex/nix/default.nix

20 lines
262 B
Nix
Raw Normal View History

pkgs:
rec {
runLaTeX =
{ rootFile
, generatePDF ? true
}:
pkgs.stdenv.mkDerivation {
name = "doc";
builder = ./run-latex.sh;
inherit rootFile generatePDF;
buildInputs = [ pkgs.tetex ];
};
}