-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
lib.licenses: cleanup, consistency and redistributable attribute #130862
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkg20001
reviewed
Jul 21, 2021
/marvin opt-in |
Hi! I'm an experimental bot. My goal is to guide this PR through its stages, hopefully ending with a merge. You can read up on the usage here. |
kevincox
reviewed
Aug 9, 2021
This is cleaner and makes common attribute application more expandable
This makes them consistent which eases more complex operations on licenses such as filtering etc.
Allows for distinction of licenses that are unfree overall but do grant the right to redistribute. Defaults to the freeness of the license. Note: Many unfree but are redistributable licenses aren't marked as such. I expect that to be fixed in a distributed manner over time. Closes NixOS#97789
I'm sure there are more but it's not feasible for a single person to check all of them
9344b8b
to
5e2c05a
Compare
Thanks! |
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
10.rebuild-darwin: 0
This PR does not cause any packages to rebuild on Darwin
10.rebuild-linux: 0
This PR does not cause any packages to rebuild on Linux
awaiting_reviewer
(old Marvin label, do not use)
marvin
This PR was reviewed by Marvin, a discontinued bot: https://github.com/timokau/marvin-mk2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
free
anddeprecated
were only set on licenses where they're false and true respectivelyFuture work: Make hydra look for
redistributable
instead offree
.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)cc @mkg20001