-
-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
texlive: fix tlmgr, tlshell, licenses #247798
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff LGTM
@GrahamcOfBorg build tests.texlive |
8c8565c
to
447fd50
Compare
@GrahamcOfBorg build tests.texlive @veprbl could you please merge, assuming the tests pass? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
The artiistic1 and gpl1Only licenses appear to have been (incorrectly) pulled in by biber:
nix-repl> :p biber.meta.license
[ { deprecated = false; free = true; fullName = "Artistic License 1.0"; redistributable = true; shortName = "artistic1"; spdxId = "Artistic-1.0"; url = "https://spdx.org/licenses/Artistic-1.0.html"; } { deprecated = false; free = true; fullName = "GNU General Public License v1.0 or later"; redistributable = true; shortName = "gpl1Plus"; spdxId = "GPL-1.0-or-later"; url = "https://spdx.org/licenses/GPL-1.0-or-later.html"; } ]
As far as I can tell, the correct license is Artistic2 as indicated in tlpdb.
@xworld21 Sorry, this slipped by. Could you, please, rebase? |
texlive.infra includes tlmgr and related TeXLive::* perl modules which are licensed under GPL2 or later. It also brings the GPL2 bin.core.
447fd50
to
b32c641
Compare
@GrahamcOfBorg build tests.texlive.licenses just in case! |
Description of changes
Minimal changes to make tlmgr and tlshell work when called with
--usermode
. Among thetexlive.infra
changes, it also adds the GPL2 and GPL2+ licenses for respectivebin.core
(which is included in all schemes) andtlmgr
itself (whose license is not flagged in texlive.tlpdb).This is hacky in that the shipped texlive.tlpdb does not contain the installed packages, so tlmgr/tlshell do not know which packages are already installed in the system tree. Generating the correct texlive.tlpdb seems tricky anyway.
Note: this includes a fix for the scheme licenses as reported in #247738 (review) and it is written on top of #247738. @apfelkuchen6 could you please double check why we had
artistic1
andgpl1Only
? I don't find them intlpdb.nix
nor inbin.nix
so I am a little worried now at how they got in.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)