From 2245c818a4d8086c302c73360f948e226678a640 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 26 Oct 2021 14:51:42 +0200 Subject: tv elm-package-proxy /all-packages/since/*: order! --- tv/2configs/elm-packages-proxy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tv') 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)") ) | - sort_by(split("@") | [.[0]]+(.[1]|split("."))) | + sort_by(split("@") | [.[0]]+(.[1]|split(".")|map(tonumber))) | reverse ' } | -- cgit v1.2.3