query
On this page

addMetaAttrs

lib.meta.addMetaAttrs

Docs pulled from | This Revision | 10 minutes 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

Aliases

Implementation

The following is the current implementation of this function.

addMetaAttrs = newAttrs: drv:
    drv // { meta = (drv.meta or {}) // newAttrs; };