fetchFromSavannah: update url#427024
Conversation
Savannah now uses mirror servers, so the link has to be updated accordingly https://lists.gnu.org/archive/html/savannah-users/2025-05/msg00002.html
|
Thank you! There are also a lot of packages that rely on git.savannah.gnu.org but don't use fetchFromSavannah, I wonder if they should be changed too. |
|
Looking at the naive grep output of |
|
Perhaps a follow up to not using snapshots and converting Or maybe we should just be using |
|
I look forward to result of the research you're doing. Making things consistent in nixpkgs about how we use Savannah would be net good. Since most things from Savannah are cached on cache.nixos.org it doesn't matter what the method of acquisition is very much, in my mind, because almost all users will instead pull it from c.n.o. The determinism questions are quite relevant though. |
This commit re-apply a019344 with fixes and minor improvements. Refs: NixOS#427024 NixOS#435964 Co-authored-by: Lin Jian <[email protected]>
Savannah now uses mirror servers, so the link has to be updated accordingly on our end.
To test:
Invalidate the hash of packages that call
fetchFromSavannahwhich include but may not be limited to "emacs" "ruby" "grub2" "gnucap" "c-intro-and-ref" "nmh" and "mescc-tools" usinglib.fakeHashBuild the package and check if the download completes and the hashes are equal.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.