You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rfcs/0185-redistribute-redistributable.md
+18-7
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,13 @@ Especially when the software is still source-available even without being free s
27
27
# Detailed design
28
28
[design]: #detailed-design
29
29
30
-
Hydra will build all packages with licenses for which `redistributable = true`.
31
-
It will still fail evaluation if the ISO image build or the Amazon AMIs were to contain unfree software.
30
+
We will add a `runnableOnHydra` field on all licenses, that will be initially set to its `free` field, and set to `true` only for well-known licenses.
31
+
32
+
Hydra will build all packages with licenses for which `redistributable && runnableOnHydra`.
33
+
It will still fail evaluation if the ISO image build or the Amazon AMIs were to contain any unfree software.
32
34
33
35
This will be done by evaluating Nixpkgs twice in `release.nix`.
34
-
Once with `allowUnfree = false` like today, plus once with `allowlistedLicenses = builtins.filter (l: l.redistributable) lib.licenses`.
36
+
Once with `allowUnfree = false` like today, plus once with `allowlistedLicenses = builtins.filter (l: l.redistributable && l.runnableOnHydra) lib.licenses`.
35
37
Then, most of the jobs will be taken from the allowlisted nixpkgs, while only the builds destined for installation will be taken from the no-unfree nixpkgs.
36
38
37
39
The list of jobs destined for installation, that cannot contain unfree software is:
@@ -51,13 +53,13 @@ The list of jobs destined for installation, that cannot contain unfree software
0 commit comments