reverse alphabetical order of repology updater
This commit is contained in:
parent
353654afff
commit
878b8a0be1
1 changed files with 4 additions and 1 deletions
|
@ -11,6 +11,7 @@ let
|
||||||
nix # for nix-shell used by python packges to update fetchers
|
nix # for nix-shell used by python packges to update fetchers
|
||||||
git # used by update-scripts
|
git # used by update-scripts
|
||||||
gnugrep
|
gnugrep
|
||||||
|
gnused
|
||||||
curl
|
curl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -64,7 +65,9 @@ in
|
||||||
systemd.services.nixpkgs-update-repology = mkNixpkgsUpdateService "repology" // {
|
systemd.services.nixpkgs-update-repology = mkNixpkgsUpdateService "repology" // {
|
||||||
script = ''
|
script = ''
|
||||||
${nixpkgs-update-bin} delete-done --delete
|
${nixpkgs-update-bin} delete-done --delete
|
||||||
${nixpkgs-update-bin} fetch-repology > /var/lib/nixpkgs-update/repology/packages-to-update.txt
|
${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
|
||||||
${nixpkgs-update-bin} update-list --pr --outpaths --nixpkgs-review
|
${nixpkgs-update-bin} update-list --pr --outpaths --nixpkgs-review
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue