addMetaAttrs
lib.meta.addMetaAttrs
Docs pulled from | This Revision | about 13 hours ago
Add to or override the meta attributes of the given derivation.
Inputs
newAttrs
-
1. Function argument
drv
-
2. Function argument
Examples
lib.meta.addMetaAttrs
usage example
addMetaAttrs {description = "Bla blah";} somePkg
Noogle detected
Implementation
The following is the current implementation of this function.
addMetaAttrs = newAttrs: drv:
drv // { meta = (drv.meta or {}) // newAttrs; };