texlive: comment on a couple of internal functions

This commit is contained in:
Vladimír Čunát 2016-04-08 16:38:48 +02:00
parent c7379b30dc
commit b6856521ff

View file

@ -104,6 +104,7 @@ let
mkUrlName = { pname, tlType, ... }:
pname + lib.optionalString (tlType != "run") ".${tlType}";
# command to unpack a single TL package
unpackPkg =
{ # url ? null, urlPrefix ? null
md5, pname, tlType, postUnpack ? "", stripPrefix ? 1, ...
@ -119,6 +120,7 @@ let
-C "$out" --anchored --exclude=tlpkg --keep-old-files
'' + postUnpack;
# create a derivation that contains unpacked upstream TL packages
mkPkgs = { pname, tlType, version, pkgList }@args:
/* TODOs:
- "historic" isn't mirrored; posted a question at #287