diff options
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/combine.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/combine.nix b/pkgs/tools/typesetting/tex/texlive/combine.nix index 4aa3c3074a0b..834828248e2e 100644 --- a/pkgs/tools/typesetting/tex/texlive/combine.nix +++ b/pkgs/tools/typesetting/tex/texlive/combine.nix @@ -37,9 +37,10 @@ let else optional (head l != elemAt l 1) (head l) ++ un_adj (tail l); in un_adj (lib.sort comparator list); - mkUniqueOutPaths = pkgs: fastUnique (a: b: a < b) # highlighting hack: > - # here we deal with those dummy packages needed for hyphenation filtering - (map (p: if lib.isDerivation p then p.outPath else "") pkgs); + uniqueStrings = fastUnique (a: b: a < b); + + mkUniqueOutPaths = pkgs: uniqueStrings + (map (p: p.outPath) (builtins.filter lib.isDerivation pkgs)); in buildEnv { name = "texlive-${extraName}-${bin.texliveYear}"; |