appendToName
lib.appendToName
Docs pulled from | This Revision | 10 minutes ago
Append a suffix to the name of a package (before the version part).
Inputs
suffix
-
1. Function argument
Noogle detected
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}"
);