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
commit112eb2c0f408bd1f12964aef1ec0ef7cc8107083 (patch)
treeba5c53fff3908f2889116a2efc329bcf520a80c7 /tv/2configs
parentc45d9d0b38d4b86e416c1c295da6170be5fdc8d6 (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 1df8c7b..caea188 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
'
} |