2021-05-27 09:31:10 +02:00
|
|
|
# Gitea's URLs are compatible with GitHub
|
|
|
|
|
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
|
2022-02-10 14:40:58 +01:00
|
|
|
lib.makeOverridable (
|
2021-05-27 09:31:10 +02:00
|
|
|
{ domain, ... }@args:
|
|
|
|
|
|
|
|
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
|
2022-02-10 14:40:58 +01:00
|
|
|
)
|