nixpkgs/pkgs/misc/tex/nix/default.nix
Eelco Dolstra 6fcee91442 * Macros for building LaTeX documents using Nix.
svn path=/nixpkgs/trunk/; revision=3216
2005-06-20 13:51:48 +00:00

20 lines
262 B
Nix

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