2021-05-29 03:34:57 +00:00
|
|
|
# Gitea's URLs are compatible with GitHub
|
|
|
|
|
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
lib.makeOverridable (
|
2021-05-29 03:34:57 +00:00
|
|
|
{ domain, ... }@args:
|
|
|
|
|
|
|
|
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
|
2023-05-24 13:37:59 +00:00
|
|
|
)
|