Commit f4e08271 authored by Alexandre Esteves's avatar Alexandre Esteves
Browse files

Fix parse when the platform version contains a minor component

parent 33dead52
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -110,7 +110,9 @@ in
            1
          else
            coerceInt (parseVersion repo "platforms" minPlatformVersion);
        latestPlatformVersionInt = lib.max minPlatformVersionInt (coerceInt repo.latest.platforms);
        latestPlatformVersionInt = lib.max minPlatformVersionInt (
          coerceInt (lib.versions.major repo.latest.platforms)
        );
        firstPlatformVersionInt = lib.max minPlatformVersionInt (
          latestPlatformVersionInt - (lib.max 1 numLatestPlatformVersions) + 1
        );