query
On this page

mapDerivationAttrset

lib.meta.mapDerivationAttrset

Docs pulled from | This Revision | about 2 hours ago


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

Inputs

f

1. Function argument

set

2. Function argument


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;