query
On this page

updateName

lib.updateName

Docs pulled from | This Revision | about 3 hours ago


Like setName, but takes the previous name as an argument.

Inputs

updater

1. Function argument

drv

2. Function argument

Examples

lib.meta.updateName usage example

updateName (oldName: oldName + "-experimental") somePkg
(lib.meta.updateName)

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

updateName = updater: drv: drv // {name = updater (drv.name);};