texlive: wrap scripts by older perl

Fixes #26890.
This commit is contained in:
Vladimír Čunát 2017-07-01 10:41:37 +02:00
parent 9c05499de9
commit 81e46dbb29
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -4,7 +4,7 @@
*/ */
{ stdenv, lib, fetchurl, runCommand, writeText, buildEnv { stdenv, lib, fetchurl, runCommand, writeText, buildEnv
, callPackage, ghostscriptX, harfbuzz, poppler_min , callPackage, ghostscriptX, harfbuzz, poppler_min
, makeWrapper, perl, python, ruby , makeWrapper, perl522, python, ruby
, useFixedHashes ? true , useFixedHashes ? true
, recurseIntoAttrs , recurseIntoAttrs
}: }:
@ -28,7 +28,8 @@ let
# function for creating a working environment from a set of TL packages # function for creating a working environment from a set of TL packages
combine = import ./combine.nix { combine = import ./combine.nix {
inherit bin combinePkgs buildEnv fastUnique lib makeWrapper writeText 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 # the set of TeX Live packages, collections, and schemes; using upstream naming