232bc96376
This reverts commit e28a586f94
.
11 lines
188 B
Nix
11 lines
188 B
Nix
lib: version:
|
|
|
|
with lib;
|
|
|
|
let
|
|
fragments = splitString "." version;
|
|
major = head fragments;
|
|
minor = concatMapStrings (fixedWidthNumber 2) (tail fragments);
|
|
in
|
|
|
|
major + minor + "00"
|