query
On this page

setName

lib.meta.setName

Docs pulled from | This Revision | 38 minutes ago


Change the symbolic name of a derivation.

Dependent derivations will be rebuilt when the symbolic name is changed.

Inputs

name

1. Function argument

drv

2. Function argument

Type

setName :: String -> Derivation -> Derivation

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

setName = name: drv: drv // { inherit name; };