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
This commit is contained in:
apfelkuchen06 2023-08-21 22:41:53 +02:00
parent a424dacb8a
commit 9155fec96b
2 changed files with 4 additions and 2 deletions

View file

@ -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"

View file

@ -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;
};