12 lines
183 B
Nix
12 lines
183 B
Nix
|
lib: version:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
let
|
||
|
fragments = splitVersion version;
|
||
|
major = head fragments;
|
||
|
minor = concatMapStrings (fixedWidthNumber 2) (tail fragments);
|
||
|
in
|
||
|
|
||
|
major + minor + "00"
|