as some of you mat know codeberg.org is becoming more populare lately. So much that some people move there projects over to it. Since codeberg is not a commercial operation, they do limit unauthenticated traffic.
So now I have the problem that one of the packages I depend on is coming from codeberg (nvim-jdtls to be specific). Since codeberg rate limits unauthenticated access, it looks like nvim-jdtls hasnt’t made it into nixpkgs binary cache. When I build my config on CI, it fails for the same reason.
I’m now looking for a way to supply a codeberg token, so my build will make authenticated requests. Will adding a .netrc do the trick? How do others deal with the situation?
Just ran into the same issue for another package - nvim-lint.
There must be a better way to handle this, if someone can point me in the right direction I could try and implement this feature if it doesn’t exist already.
As I understood it, this isn’t about flake inputs but fetchFromCodeberg, and that hydra was unable to build the package itself because of rate limiting.
Edit 2: the plugin isn’t in the binary cache because it’s incorrectly marked as unfree (and has hydraPlaforms set to an empty list, but that seems to be the case for most vim plugins?)