updateName
lib.meta.updateName
Docs pulled from | This Revision | about 1 hour 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
Noogle detected
Implementation
The following is the current implementation of this function.
updateName = updater: drv: drv // {name = updater (drv.name);};