texlive: comment on a couple of internal functions
This commit is contained in:
parent
c7379b30dc
commit
b6856521ff
|
@ -104,6 +104,7 @@ let
|
||||||
mkUrlName = { pname, tlType, ... }:
|
mkUrlName = { pname, tlType, ... }:
|
||||||
pname + lib.optionalString (tlType != "run") ".${tlType}";
|
pname + lib.optionalString (tlType != "run") ".${tlType}";
|
||||||
|
|
||||||
|
# command to unpack a single TL package
|
||||||
unpackPkg =
|
unpackPkg =
|
||||||
{ # url ? null, urlPrefix ? null
|
{ # url ? null, urlPrefix ? null
|
||||||
md5, pname, tlType, postUnpack ? "", stripPrefix ? 1, ...
|
md5, pname, tlType, postUnpack ? "", stripPrefix ? 1, ...
|
||||||
|
@ -119,6 +120,7 @@ let
|
||||||
-C "$out" --anchored --exclude=tlpkg --keep-old-files
|
-C "$out" --anchored --exclude=tlpkg --keep-old-files
|
||||||
'' + postUnpack;
|
'' + postUnpack;
|
||||||
|
|
||||||
|
# create a derivation that contains unpacked upstream TL packages
|
||||||
mkPkgs = { pname, tlType, version, pkgList }@args:
|
mkPkgs = { pname, tlType, version, pkgList }@args:
|
||||||
/* TODOs:
|
/* TODOs:
|
||||||
- "historic" isn't mirrored; posted a question at #287
|
- "historic" isn't mirrored; posted a question at #287
|
||||||
|
|
Loading…
Reference in a new issue