texlive.bin.core: move man, info pages to standard outputs

This commit is contained in:
Vincenzo Mantova 2023-08-28 18:27:21 +01:00
parent 87b1ba03db
commit c13d1f38ea

View file

@ -132,7 +132,7 @@ core = stdenv.mkDerivation rec {
inherit (common) binToOutput src prePatch;
outputs = [ "out" "doc" "dev" ]
outputs = [ "out" "dev" "man" "info" ]
++ (builtins.map (builtins.replaceStrings [ "-" ] [ "_" ]) corePackages);
nativeBuildInputs = [
@ -191,10 +191,6 @@ core = stdenv.mkDerivation rec {
note: for unlinking, the texlinks patch is irrelevant, so we use
the included texlinks.sh to avoid the dependency on bin.texlinks */ ''
PATH="$out/bin:$PATH" sh ../texk/texlive/linked_scripts/texlive-extra/texlinks.sh --cnffile "../texk/texlive/tl_support/fmtutil.cnf" --unlink "$out/bin"
'' +
/* doc location identical with individual TeX pkgs */ ''
mkdir -p "$doc/doc"
mv "$out"/share/{man,info} "$doc"/doc
'' + /* remove redundant texmf-dist (content provided by TeX Live packages) */
''
rm -fr "$out"/share/texmf-dist