From c15ae32ce53d6a59debd6fa03707ff042a5aa498 Mon Sep 17 00:00:00 2001 From: Aria Date: Fri, 20 Oct 2023 19:04:58 +0100 Subject: fix nix build --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 9d6c859..64ea3ee 100644 --- a/flake.nix +++ b/flake.nix @@ -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/ ''; }; }; -- cgit v1.2.3