query
On this page

mapDerivationAttrset

lib.mapDerivationAttrset

Docs pulled from | This Revision | 10 minutes ago


Apply a function to each derivation and only to derivations in an attrset.

Inputs

f

1. Function argument

set

2. Function argument

(lib.meta.mapDerivationAttrset)

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

mapDerivationAttrset = f: set: lib.mapAttrs (name: pkg: if lib.isDerivation pkg then (f pkg) else pkg) set;