summary refs log tree commit diff
path: root/lib/licenses.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/licenses.nix')
-rw-r--r--lib/licenses.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 5f5cf3490cf..ce970c58fd5 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -13,9 +13,11 @@ lib.mapAttrs (lname: lset: let
       if license ? spdxId
       then license // { url = "https://spdx.org/licenses/${license.spdxId}.html"; }
       else license;
+    applyRedistributable = license: { redistributable = license.free; } // license;
   in lib.pipe licenseDeclaration [
     applyDefaults
     applySpdx
+    applyRedistributable
   ];
 in mkLicense lset) ({
   /* License identifiers from spdx.org where possible.