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
greybird: remove license cc-by-nc-sa-30 #46802
Conversation
Why is this significant? It seems helpful to encode that it is dual licensed. |
@grahamc As explained by @romildo on IRC
|
Success on x86_64-linux (full log) Attempted: greybird Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: greybird Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: greybird Partial log (click to expand)
|
The PR #46787 (from today) makes evident that |
The nixpkgs manual makes it clear:
|
We need a way of express that the licenses are alternatives (one or the other). What we already have using list is not alternatives (all licenses apply, there is no choice). |
As a workaround I suggest putting it in a comment: |
Greybird is dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later. The first is free, and the second is unfree in nixpkgs. Currently both licenses are listed in the package derivation. And nix takes that it is unfree. If one of the licenses in the list is unfree. nix consider that the software is unfree. Remove the unfree one.
Done. |
Success on x86_64-linux (full log) Attempted: greybird Partial log (click to expand)
|
Thanks! |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: greybird Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: greybird Partial log (click to expand)
|
@romildo could you create a PR to backport this to 18.09? My rebuild fails because it's unfree. Currently using a workaround: davidak/nixos-config@5a588bb |
@davidak I have never done a backport. Can you tell me how to do it? |
You don't need to open a new PR. I'll backport this tomorrow.
|
Greybird is dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later. The first is free, and the second is unfree in nixpkgs. Currently both licenses are listed in the package derivation. And nix takes that it is unfree. If one of the licenses in the list is unfree. nix consider that the software is unfree. Remove the unfree one. (cherry picked from commit 1944def)
backported to 18.09 in 8fe63a0 |
Motivation for this change
Greybird is dual-licensed as GPLv2 or later (free) and
CC-BY-SA 3.0 or later (unfree). Remove the unfree one.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)