fetchFromCodeberg: init

It's 'fetchFromGitea', with the domain already set.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues 2026-01-24 10:20:49 +11:00
parent 5d302ecc40
commit dcc52f0124
No known key found for this signature in database
GPG key ID: CC3AE2EA00000000
2 changed files with 4 additions and 0 deletions

View file

@ -0,0 +1,2 @@
{ lib, fetchFromGitea }:
lib.makeOverridable (args: fetchFromGitea ({ domain = "codeberg.org"; } // args))

View file

@ -645,6 +645,8 @@ with pkgs;
fetchFromGitea = callPackage ../build-support/fetchgitea { };
fetchFromCodeberg = callPackage ../build-support/fetchcodeberg { };
fetchFromGitHub = callPackage ../build-support/fetchgithub { };
fetchFromBitbucket = callPackage ../build-support/fetchbitbucket { };