···99 atLeast23 = lib.versionAtLeast featureVersion "23";
100101 tagPrefix = if atLeast11 then "jdk-" else "jdk";
102- # TODO: Merge these `lib.removePrefix` calls once update scripts have
103- # been run.
104- version = lib.removePrefix tagPrefix (lib.removePrefix "refs/tags/" source.src.rev);
105- versionSplit =
106- # TODO: Remove `-ga` logic once update scripts have been run.
107- builtins.match (if atLeast11 then "(.+)[-+](.+)" else "(.+)-b?(.+)") version;
108 versionBuild = lib.elemAt versionSplit 1;
109110 # The JRE 8 libraries are in directories that depend on the CPU.
···99 atLeast23 = lib.versionAtLeast featureVersion "23";
100101 tagPrefix = if atLeast11 then "jdk-" else "jdk";
102+ version = lib.removePrefix "refs/tags/${tagPrefix}" source.src.rev;
103+ versionSplit = builtins.match (if atLeast11 then "(.+)+(.+)" else "(.+)-b(.+)") version;
0000104 versionBuild = lib.elemAt versionSplit 1;
105106 # The JRE 8 libraries are in directories that depend on the CPU.