-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
WIP: Factoring out unfree non-redistributable vs. unfree redistributale licenses #47237
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,14 @@ | |
, limitedSupportedSystems ? [ "i686-linux" ] | ||
# Strip most of attributes when evaluating to spare memory usage | ||
, scrubJobs ? true | ||
# Attributes passed to nixpkgs. Don't build packages marked as unfree. | ||
, nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As mentioned in the commit, I'm pretty sure Hydra is not currently working as intended, since it just says |
||
# Attributes passed to nixpkgs. Don't build packages marked as unfree, unless | ||
# they are also marked as redistributable. | ||
# TODO: Consider adding this predicate to stdenv's check-meta for generic re-use? | ||
, nixpkgsArgs ? { config = { | ||
allowUnfree = false; | ||
allowUnfreePredicate = (p: p.meta.license.redistributable or false); | ||
inHydra = true; | ||
}; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could add an attribute that can go into the config called and has a nice warning message letting you know that you could get the pkg either by setting |
||
}: | ||
|
||
with import ./release-lib.nix { inherit supportedSystems scrubJobs nixpkgsArgs; }; | ||
|
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.
An example of attaching the correct metadata to the actual license.