diff options
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,18 +39,18 @@ default = pkgs.stdenvNoCC.mkDerivation rec { name = "thesis"; src = ./thesis; - buildInputs = [pkgs.coreutils tex]; + buildInputs = [pkgs.coreutils tex pkgs.biber]; phases = ["unpackPhase" "buildPhase" "installPhase"]; buildPhase = '' export PATH="${pkgs.lib.makeBinPath buildInputs}"; mkdir -p .cache/texmf-var env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \ - latexmk -interaction=nonstopmode -pdf -lualatex \ + latexmk -interaction=nonstopmode -bibtex -pdf \ main.tex ''; installPhase = '' mkdir -p $out - cp document.pdf $out/ + cp main.pdf $out/ ''; }; }; |