Repository navigation
treewide: avoid using singleton lists for licenses - #535754
Merged
Merged
Conversation
Sigmanificient
approved these changes
Jun 26, 2026
llakala
force-pushed
the
no-singleton-license-lists
branch
2 times, most recently
from
June 26, 2026 20:58
d54c827 to
9235b24
Compare
llakala
force-pushed
the
no-singleton-license-lists
branch
from
June 26, 2026 21:07
9235b24 to
42545e7
Compare
jopejoe1
approved these changes
Jul 11, 2026
jopejoe1
left a comment
Member
There was a problem hiding this comment.
Changes look good, but needs a rebase.
eveeifyeve
approved these changes
Jul 11, 2026
llakala
force-pushed
the
no-singleton-license-lists
branch
from
July 15, 2026 18:05
42545e7 to
ff094f6
Compare
4 of 13 tasks
14 tasks
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
These are all no-ops, as when licenses are a list, it just checks if any of them match the given condition. Licenses as lists is also a bit of an antifeature (see https://discourse.nixos.org/t/compound-licenses/78532).
Generated with:
And then a little manual cleanup. This doesn't really matter - but it's nice to have things done sanely where it's trivial.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.