nixpkgs/pkgs/tools/typesetting
Dmitry Kalinkin ba3c9df01a texlive: fix evaluation on Nix 1.11
The problem was in builtins.partition call. I've tried to rewrite it with
builtins.foldl', but that doesn't help. However replacing it with a pair of
builtins.filter calls works.

diff --git a/lib/lists.nix b/lib/lists.nix
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -242,10 +242,10 @@ rec {
        => { right = [ 5 3 4 ]; wrong = [ 1 2 ]; }
   */
   partition = builtins.partition or (pred:
-    foldr (h: t:
+    builtins.foldl' (t: h:
       if pred h
-      then { right = [h] ++ t.right; wrong = t.wrong; }
-      else { right = t.right; wrong = [h] ++ t.wrong; }
+      then { right = t.right ++ [h]; wrong = t.wrong; }
+      else { right = t.right; wrong = t.wrong ++ [h]; }
     ) { right = []; wrong = []; });

   /* Merges two lists of the same size together. If the sizes aren't the same
2017-10-30 00:54:48 -04:00
..
asciidoc pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
asciidoctor asciidoctor: use ruby 2.3 2017-08-11 11:13:31 +09:00
biber
djvu2pdf djvu2pdf: fix description 2017-09-29 15:33:08 +00:00
docbook2odf
docbook2x
fop Update homepage attributes: http -> https 2017-08-03 11:56:15 +02:00
git-latexdiff
halibut Update homepage attributes: http -> https 2017-08-03 11:56:15 +02:00
hevea hevea: make explicit the dependency to ocamlbuild 2017-10-11 07:58:22 +00:00
htmldoc htmldoc: use stdenv.lib.optional instead of stdenv.lib.enable 2017-03-19 14:21:29 -07:00
kindlegen
lout lout: fix macOS build 2017-04-08 23:28:03 -05:00
multimarkdown pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
odpdown
pdf2djvu treewide: homepage URL fixes (#28475) 2017-08-22 20:50:04 +02:00
pdf2htmlEX poppler: Include poppler encoding data by default 2017-05-26 13:49:22 +03:00
pdf2odt pdf2odt: 20141217 -> 20170207 2017-09-14 19:09:26 +08:00
pdfgrep pdfgrep: 1.3.1 -> 2.0.1 2017-08-01 08:36:35 +02:00
pdftk pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
psutils
pygmentex
rubber
sile sile, simavr: fixup packages with RPATH problems 2017-05-18 11:39:00 +02:00
tectonic tectonic: init at 0.1.6 2017-08-21 22:49:10 +02:00
tex texlive: fix evaluation on Nix 1.11 2017-10-30 00:54:48 -04:00
xmlroff treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
xmlto