From 509fdd77f6e484d3e364fc9a33a5d7e23f147a15 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Fri, 18 Aug 2023 13:35:02 -0700 Subject: [PATCH] Use texlive.combine to optimize texlive --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 3bfee6c..b7c427c 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,9 @@ in { packages.${system} = { pdf-annotator = let - texlive = pkgs.texlive.combined.scheme-full; + texlive = pkgs.texlive.combine { + inherit (pkgs.texlive) scheme-small changepage; + }; script = "run.sh"; tex = "numbered.tex"; in pkgs.stdenv.mkDerivation rec {