diff options
author | Vincent Ambo <mail@tazj.in> | 2023-11-12 20:19:42 +0300 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2023-11-12 20:19:42 +0300 |
commit | 7e29fd663e00c871242a54837ca0da9e71f469db (patch) | |
tree | 62fec9cf639a2806386463ed2cff82232735f20e | |
parent | 54da2986be07ad2ffbade0b3cefaf7f0c2553c88 (diff) |
texlive: fix compatibility with Nix 2.3
Uses the `lib.groupBy` compatibility shim to allow this package to work with the maintained, unflaked Nix 2.3 that many people use.
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/build-tex-env.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix index 41231ae1b186a..133723cc39113 100644 --- a/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix +++ b/pkgs/tools/typesetting/tex/texlive/build-tex-env.nix @@ -70,7 +70,7 @@ let # group the specified outputs specified = builtins.partition (p: p.outputSpecified or false) all; - specifiedOutputs = builtins.groupBy (p: p.tlOutputName or p.outputName) specified.right; + specifiedOutputs = lib.groupBy (p: p.tlOutputName or p.outputName) specified.right; otherOutputNames = builtins.catAttrs "key" (builtins.genericClosure { startSet = map (key: { inherit key; }) (lib.concatLists (builtins.catAttrs "outputs" specified.wrong)); operator = _: [ ]; |