WITH
lib.licenses.WITH
Docs pulled from | This Revision | 12 minutes ago
Nixpkgs manual
Create a licenses exception where a license has a license exception,
eqivialent of spdx with modifier.
Example
WITH lib.licenses.lgpl21Only lib.licenses.ocamlLgplLinkingException
=> { licenseType = "exception"; operator = "WITH"; license = lib.licenses.lgpl21Only; exception = lib.licenses.ocamlLgplLinkingException; };
Type
WITH :: AttrSet -> AttrSet -> AttrSet
Arguments
- [license] License to which the exception applies
- [exception] Exception to apply
Noogle detected
Implementation
The following is the current implementation of this function.
WITH = license: exception: {
licenseType = "exception";
operator = "WITH";
inherit license exception;
};