summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-10-26 14:51:42 +0200
committertv <tv@krebsco.de>2021-10-26 14:51:42 +0200
commit2245c818a4d8086c302c73360f948e226678a640 (patch)
tree22bc1084771dd02c3399532743dad5a5105f8946 /tv/2configs
parente35b2c6fc4881f5ce30843f614b74ffb3c1bd9c7 (diff)
tv elm-package-proxy /all-packages/since/*: order!
Diffstat (limited to 'tv/2configs')
-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
'
} |