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.
This commit is contained in:
parent
54da2986be
commit
7e29fd663e
@ -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 = _: [ ];
|
||||
|
Loading…
Reference in New Issue
Block a user