-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Yarn2nix-moretea is GPL-3.0 licensed, should be MIT #334267
Comments
Just to repeat what I said on Matrix, if we can’t figure out something better in a few days I will open a relicensing issue and start the work of pinging all the contributors. Reimplementing it sounds nice, but I suspect it would take quite a while given the speed at which Nixpkgs language ecosystems tend to move. |
yarn2nix can be easily misused and trigger IFD. I think too that in the long run we should replace it. Maybe yarnBuildHook/yarnConfigHook from #318015 are already enough and the package can easily be migrated? |
(Nixpkgs potentially actually being GPLv3 is very much a bug IMO.) Migration is all well and good, but we probably ought to try to relicense anyway: we can’t change old revisions of Nixpkgs and it’s not good for multiple years of Nixpkgs history to be under unclear licensing conditions. |
I guess re-licensing is the better way for now? We can ping all the contributors, from a glance I read most of the names before. |
Yes, I think we should probably at least try. I will open a new GitHub issue for it today so that we can discuss here without it getting bogged down in rote responses. |
Okay, here we go I guess: #334374 |
Oof, thank you @emilazy for trying to clean up that mess. |
No worries @WilliButz – thanks for trying to improve the Node packaging situation in Nixpkgs and for your quick reply to the ping! This is an institutional failure IMO, and I think that it would have been caught before merge these days. |
https://discourse.nixos.org/u/petabyteboy seems still active. It might be worth posting the same as #334374 on Discourse if you want people's replies to be public (unlike with email). |
All contributors that have made contributions at all likely to be copyrightable have agreed to relicense this code under the same MIT licence as the rest of Nixpkgs in <#334374>. Note that this applies to all previous versions of the code, including in older Nixpkgs versions where the GPLv3 text is still present and the original yarn2nix repositories before they were imported into Nixpkgs. Closes: #334267 Closes: #334374 (cherry picked from commit df1aa35)
Describe the bug
Problem
All expressions in nixpkgs are supposed to be MIT licensed, but
yarn2nix-moretea
is licensed under GPL-3.0.yarn2nix-moretea as an externally developed project under different licensing terms that we use for nixpkgs.
It was merged into nixpgks in #108138 without the license being changed to MIT or a compatible license.
Impact
Every package using
mkYarnPackage
is using improperly licensed expressions, which at the time of writing looks to be a bit more than 25 packages.Solution
I have two proposed solutions, neither of which are particularly appealing:
yarn2nix-moretea
under MITThis would require assembling relicensing signatures from all existing yarn2nix authors which include both contributors when it was in nix-community & in nixpkgs.
It's gonna take some time and keep us in license non-compliance in the mean time.
yarn2nix
, migrate packages to something elseThe newly added yarnBuildHook looks like a good contender as pointed out by @SuperSandro2000 in chat.
CC
CCing authors and other relevant parties
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: