8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
11 lines
183 B
Nix
11 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"
|