about summary refs log tree commit diff
path: root/pkgs/tools/typesetting/tex/texlive/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-07-01 10:41:37 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-07-01 10:42:59 +0200
commit81e46dbb29c0218e057df151e6377bf59b98db13 (patch)
treebcd2f035003f4e04d2a7d0fdb4be214ac38abfce /pkgs/tools/typesetting/tex/texlive/default.nix
parent9c05499de972ba3d990002cbdf2530d3b273a836 (diff)
downloadnixlib-81e46dbb29c0218e057df151e6377bf59b98db13.tar
nixlib-81e46dbb29c0218e057df151e6377bf59b98db13.tar.gz
nixlib-81e46dbb29c0218e057df151e6377bf59b98db13.tar.bz2
nixlib-81e46dbb29c0218e057df151e6377bf59b98db13.tar.lz
nixlib-81e46dbb29c0218e057df151e6377bf59b98db13.tar.xz
nixlib-81e46dbb29c0218e057df151e6377bf59b98db13.tar.zst
nixlib-81e46dbb29c0218e057df151e6377bf59b98db13.zip
texlive: wrap scripts by older perl
Fixes #26890.
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive/default.nix')
-rw-r--r--pkgs/tools/typesetting/tex/texlive/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix
index 701ce7f67b2d..692f6b1772c7 100644
--- a/pkgs/tools/typesetting/tex/texlive/default.nix
+++ b/pkgs/tools/typesetting/tex/texlive/default.nix
@@ -4,7 +4,7 @@
 */
 { stdenv, lib, fetchurl, runCommand, writeText, buildEnv
 , callPackage, ghostscriptX, harfbuzz, poppler_min
-, makeWrapper, perl, python, ruby
+, makeWrapper, perl522, python, ruby
 , useFixedHashes ? true
 , recurseIntoAttrs
 }:
@@ -28,7 +28,8 @@ let
   # function for creating a working environment from a set of TL packages
   combine = import ./combine.nix {
     inherit bin combinePkgs buildEnv fastUnique lib makeWrapper writeText
-      perl stdenv python ruby;
+      stdenv python ruby;
+    perl = perl522; # avoid issues like #26890, probably remove after texlive upgrade
   };
 
   # the set of TeX Live packages, collections, and schemes; using upstream naming