11 lines
231 B
Nix
11 lines
231 B
Nix
{
|
|
concatStrings,
|
|
stringToCharacters,
|
|
substring,
|
|
tail,
|
|
toUpper,
|
|
...
|
|
}: {
|
|
mkVersion = src: "0.0.0+" + src.shortRev;
|
|
capitalise = str: (toUpper (substring 0 1 str) + (concatStrings (tail (stringToCharacters str))));
|
|
}
|