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

Fix missing sed, grep and coreutils in $PATH. Closes: #150620
This commit is contained in:
Dmitry Bogatov 2022-06-16 09:10:37 -04:00 committed by GitHub
parent 772d80a00e
commit 01e4d1a67f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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
};