diff options
author | apfelkuchen06 <apfelkuchen@hrnz.li> | 2023-08-21 22:41:53 +0200 |
---|---|---|
committer | apfelkuchen06 <apfelkuchen@hrnz.li> | 2023-08-27 12:12:02 +0200 |
commit | 9155fec96b3f4c24f7742b5fd1015257e9458cef (patch) | |
tree | d877cceadd798981fc0f100f06347bcf0e30778c | |
parent | a424dacb8a50f08bef9dbe7eeaa309d8f8880d9a (diff) | |
download | nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.tar nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.tar.gz nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.tar.bz2 nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.tar.lz nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.tar.xz nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.tar.zst nixpkgs-9155fec96b3f4c24f7742b5fd1015257e9458cef.zip |
texlive.combine: explicitly list params
This prepares the use of callPackage (to avoid repeating the parameter names all over the place) and makes static analysis possible
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/combine.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/default.nix | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix index a39b9da2309..8a326572716 100644 --- a/pkgs/tools/typesetting/tex/texlive/combine.nix +++ b/pkgs/tools/typesetting/tex/texlive/combine.nix @@ -1,4 +1,6 @@ -params: with params; +{ lib, buildEnv, runCommand, writeText, makeWrapper, libfaketime, makeFontsConf +, perl, bash, coreutils, gnused, gnugrep, gawk, ghostscript +, bin, tl }: # combine = args@{ pkgFilter ? (pkg: pkg.tlType == "run" || pkg.tlType == "bin" || pkg.pname == "core" diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix index 37b10f28b33..466d58bf537 100644 --- a/pkgs/tools/typesetting/tex/texlive/default.nix +++ b/pkgs/tools/typesetting/tex/texlive/default.nix @@ -24,7 +24,7 @@ let # function for creating a working environment from a set of TL packages combine = import ./combine.nix { inherit bin buildEnv lib makeWrapper writeText runCommand - stdenv perl libfaketime makeFontsConf bash tl coreutils gawk gnugrep gnused; + perl libfaketime makeFontsConf bash tl coreutils gawk gnugrep gnused; ghostscript = ghostscript_headless; }; |