nixpkgs-update: switch back to alphabetical order for Repology source

This commit is contained in:
Ryan Mulligan 2022-02-10 08:42:38 -08:00
parent c58e00026d
commit 631d39400f

View file

@ -69,7 +69,9 @@ in
${nixpkgs-update-bin} delete-done --delete
${nixpkgs-update-bin} fetch-repology > /var/lib/nixpkgs-update/repology/packages-to-update-regular.txt
# reverse list
sed '1!G;h;$!d' /var/lib/nixpkgs-update/repology/packages-to-update-regular.txt > /var/lib/nixpkgs-update/repology/packages-to-update.txt
# sed '1!G;h;$!d' /var/lib/nixpkgs-update/repology/packages-to-update-regular.txt > /var/lib/nixpkgs-update/repology/packages-to-update.txt
# skip reversing for now
cp /var/lib/nixpkgs-update/repology/packages-to-update-regular.txt /var/lib/nixpkgs-update/repology/packages-to-update.txt
${nixpkgs-update-command}
'';
};