texlive.combine: export packages attribute to help find-tarballs.nix

Can be verified using:

  nix-instantiate --eval --json --strict ./maintainers/scripts/find-tarballs.nix --arg expr '(import ./. {}).texlive.combined.scheme-small' 2>/dev/null | jq '.[].name' | grep -E "r[0-9]+\.tar\.xz"
This commit is contained in:
Dmitry Kalinkin 2021-03-18 17:23:52 -04:00
parent 2ba2500228
commit 9adbfba80f
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -52,6 +52,9 @@ in (buildEnv {
buildInputs = [ makeWrapper ] ++ pkgList.extraInputs;
# This is set primarily to help find-tarballs.nix to do its job
passthru.packages = pkgList.all;
postBuild = ''
cd "$out"
mkdir -p ./bin