lol

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

Fix missing sed, grep and coreutils in $PATH. Closes: #150620

authored by

Dmitry Bogatov and committed by
GitHub
01e4d1a6 772d80a0

+3 -3
+1 -1
pkgs/tools/typesetting/tex/texlive/combine.nix
··· 180 echo -n "Wrapping '$link'" 181 rm "$link" 182 makeWrapper "$target" "$link" \ 183 - --prefix PATH : "$out/bin:${perl}/bin" \ 184 --prefix PERL5LIB : "$PERL5LIB" \ 185 --set-default TEXMFCNF "$TEXMFCNF" 186
··· 180 echo -n "Wrapping '$link'" 181 rm "$link" 182 makeWrapper "$target" "$link" \ 183 + --prefix PATH : "${gnused}/bin:${gnugrep}/bin:${coreutils}/bin:$out/bin:${perl}/bin" \ 184 --prefix PERL5LIB : "$PERL5LIB" \ 185 --set-default TEXMFCNF "$TEXMFCNF" 186
+2 -2
pkgs/tools/typesetting/tex/texlive/default.nix
··· 4 */ 5 { stdenv, lib, fetchurl, runCommand, writeText, buildEnv 6 , callPackage, ghostscriptX, harfbuzz 7 - , makeWrapper, python3, ruby, perl 8 , useFixedHashes ? true 9 , recurseIntoAttrs 10 }: ··· 23 # function for creating a working environment from a set of TL packages 24 combine = import ./combine.nix { 25 inherit bin combinePkgs buildEnv lib makeWrapper writeText 26 - stdenv python3 ruby perl; 27 ghostscript = ghostscriptX; # could be without X, probably, but we use X above 28 }; 29
··· 4 */ 5 { stdenv, lib, fetchurl, runCommand, writeText, buildEnv 6 , callPackage, ghostscriptX, harfbuzz 7 + , makeWrapper, python3, ruby, perl, gnused, gnugrep, coreutils 8 , useFixedHashes ? true 9 , recurseIntoAttrs 10 }: ··· 23 # function for creating a working environment from a set of TL packages 24 combine = import ./combine.nix { 25 inherit bin combinePkgs buildEnv lib makeWrapper writeText 26 + stdenv python3 ruby perl gnused gnugrep coreutils; 27 ghostscript = ghostscriptX; # could be without X, probably, but we use X above 28 }; 29