AND
lib.licenses.AND
Docs pulled from | This Revision | 18 minutes ago
Nixpkgs manual
Create a compound licenses where the user needs to follow both licenses,
eqivialent of spdx and modifier.
Example
AND [ lib.licenses.mit lib.licenses.asl20 ]
=> { licenseType = "compound"; operator = "AND"; licenses = [ lib.licenses.mit lib.licenses.asl20 ] };
Type
AND :: List -> AttrSet
Arguments
- [licenses] Licenses required to use
Noogle detected
Implementation
The following is the current implementation of this function.
AND = licenses: {
licenseType = "compound";
operator = "AND";
inherit licenses;
};