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 biber: 2.4 -> 2.5 2016-07-13 10:53:12 +03:00
djvu2pdf djvu2pdf: fix description 2017-09-29 15:33:08 +00:00
docbook2odf treewide: Use makeBinPath 2016-08-23 01:18:10 +03:00
docbook2x kill libiconvOr* 2015-02-07 20:29:28 -08:00
fop Update homepage attributes: http -> https 2017-08-03 11:56:15 +02:00
git-latexdiff Remove myself from maintainers 2017-01-31 11:00:14 +01:00
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 kindlegen: init at 2.9 2016-08-28 21:25:07 +08:00
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 Do not use top-level buildPythonPackage or buildPythonApplication 2016-09-26 11:10:51 +02:00
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 Fix psutils licence. 2016-07-27 10:29:30 +02:00
pygmentex use dontBuild instead of hacks 2016-05-04 10:11:04 +00:00
rubber rubber: 1.3 -> 1.4 2017-01-02 22:50:53 +08:00
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 treewide: Use makeBinPath 2016-08-23 01:18:10 +03:00