query
On this page

appendToName

lib.appendToName

Docs pulled from | This Revision | 14 minutes ago


Append a suffix to the name of a package (before the version part).

Inputs

suffix

1. Function argument

(lib.meta.appendToName)

Noogle detected

Aliases

Implementation

The following is the current implementation of this function.

appendToName = suffix: updateName (name:
    let x = builtins.parseDrvName name; in "${x.name}-${suffix}-${x.version}");