@@ -107,7 +107,28 @@ core = stdenv.mkDerivation rec {
107107 mv ./texmf.cnf "$out/share/texmf-dist/web2c/"
108108 cp ../texk/tests/TeXLive/*.pm "$out/share/texmf-dist/scripts/texlive/TeXLive/"
109109 cp ../texk/texlive/linked_scripts/scripts.lst "$out/share/texmf-dist/scripts/texlive/"
110− '' + /* doc location identical with individual TeX pkgs */ ''
110+ '' +
111+ (let extraScripts =
112+ ''
113+ tex4ht/ht.sh
114+ tex4ht/htcontext.sh
115+ tex4ht/htcopy.pl
116+ tex4ht/htlatex.sh
117+ tex4ht/htmex.sh
118+ tex4ht/htmove.pl
119+ tex4ht/httex.sh
120+ tex4ht/httexi.sh
121+ tex4ht/htxelatex.sh
122+ tex4ht/htxetex.sh
123+ tex4ht/mk4ht.pl
124+ tex4ht/xhlatex.sh
125+ '';
126+ in
127+ ''
128+ echo -e 'texmf_scripts="$texmf_scripts\n${extraScripts}"' \
129+ >> "$out/share/texmf-dist/scripts/texlive/scripts.lst"
130+ '')
131+ + /* doc location identical with individual TeX pkgs */ ''
111132 mkdir -p "$doc/doc"
112133 mv "$doc"/share/{man,info} "$doc"/doc
113134 rmdir "$doc"/share