Merge pull request #69345 from joachifm/feat/split-version

Replace uses of splitString for splitting version strings
This commit is contained in:
Joachim F
2019-09-27 06:19:18 +00:00
committed by GitHub
30 changed files with 59 additions and 44 deletions

View File

@@ -29,7 +29,7 @@ with super;
# Parse out a version number without the Lua version inserted
version = with pkgs.lib; let
version' = super.cqueues.version;
rel = splitString "." version';
rel = splitVersion version';
date = head rel;
rev = last (splitString "-" (last rel));
in "${date}-${rev}";