texlive.combined.basic-scheme: fix $PATH of wrapped scripts (#177826)

Fix missing sed, grep and coreutils in $PATH. Closes: #150620
main
Dmitry Bogatov 2 years ago committed by GitHub
parent 772d80a00e
commit 01e4d1a67f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkgs/tools/typesetting/tex/texlive/combine.nix
  2. 4
      pkgs/tools/typesetting/tex/texlive/default.nix

@ -180,7 +180,7 @@ in (buildEnv {
echo -n "Wrapping '$link'"
rm "$link"
makeWrapper "$target" "$link" \
--prefix PATH : "$out/bin:${perl}/bin" \
--prefix PATH : "${gnused}/bin:${gnugrep}/bin:${coreutils}/bin:$out/bin:${perl}/bin" \
--prefix PERL5LIB : "$PERL5LIB" \
--set-default TEXMFCNF "$TEXMFCNF"

@ -4,7 +4,7 @@
*/
{ stdenv, lib, fetchurl, runCommand, writeText, buildEnv
, callPackage, ghostscriptX, harfbuzz
, makeWrapper, python3, ruby, perl
, makeWrapper, python3, ruby, perl, gnused, gnugrep, coreutils
, useFixedHashes ? true
, recurseIntoAttrs
}:
@ -23,7 +23,7 @@ let
# function for creating a working environment from a set of TL packages
combine = import ./combine.nix {
inherit bin combinePkgs buildEnv lib makeWrapper writeText
stdenv python3 ruby perl;
stdenv python3 ruby perl gnused gnugrep coreutils;
ghostscript = ghostscriptX; # could be without X, probably, but we use X above
};

Loading…
Cancel
Save