diff options
author | tv <tv@krebsco.de> | 2021-10-26 14:51:42 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-10-26 14:51:42 +0200 |
commit | 112eb2c0f408bd1f12964aef1ec0ef7cc8107083 (patch) | |
tree | ba5c53fff3908f2889116a2efc329bcf520a80c7 /tv | |
parent | c45d9d0b38d4b86e416c1c295da6170be5fdc8d6 (diff) |
tv elm-package-proxy /all-packages/since/*: order!
Diffstat (limited to 'tv')
-rw-r--r-- | tv/2configs/elm-packages-proxy.nix | 2 |
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 ' } | |