diff --git a/quickget b/quickget index ab9cd3c..3ddc117 100755 --- a/quickget +++ b/quickget @@ -842,7 +842,7 @@ function releases_nitrux() { function releases_nixos() { # Lists unstable plus the two most recent releases #shellcheck disable=SC2046 - echo unstable $(web_pipe "https://nix-channels.s3.amazonaws.com/?delimiter=/" | grep -o -P '(?<=nixos-)[0-9]+.[0-9]+(?=)' | sort -nr | head -n +2) + echo unstable $(web_pipe "https://nix-channels.s3.amazonaws.com/?delimiter=/" | grep -o -E 'nixos-[[:digit:]]+\.[[:digit:]]+' | cut -d- -f2 | sort -nru | head -n +2) } function editions_nixos() {