summaryrefslogtreecommitdiffstats
path: root/tv/2configs/elm-packages-proxy.nix
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-26 18:59:47 +0200
committerlassulus <lassulus@lassul.us>2021-10-26 18:59:47 +0200
commit64dd084c767feae2606db7b07b9d6127635704f3 (patch)
tree49838a36347958dae90c2f9bdd20fda47b0f1e03 /tv/2configs/elm-packages-proxy.nix
parenta04eb31e7b59d992eb006453a88698346337f897 (diff)
parent2245c818a4d8086c302c73360f948e226678a640 (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/elm-packages-proxy.nix')
-rw-r--r--tv/2configs/elm-packages-proxy.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/elm-packages-proxy.nix b/tv/2configs/elm-packages-proxy.nix
index 1df8c7b70..caea18802 100644
--- a/tv/2configs/elm-packages-proxy.nix
+++ b/tv/2configs/elm-packages-proxy.nix
@@ -274,7 +274,7 @@ in {
select(.!="") |
sub("^\\./(?<author>[^/]+)/(?<pname>[^/]+)/(?<version>[^/]+)$";"\(.author)/\(.pname)@\(.version)")
) |
- sort_by(split("@") | [.[0]]+(.[1]|split("."))) |
+ sort_by(split("@") | [.[0]]+(.[1]|split(".")|map(tonumber))) |
reverse
'
} |