9 lines
195 B
Nix
9 lines
195 B
Nix
# Gitea's URLs are compatible with GitHub
|
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
lib.makeOverridable (
|
|
{ domain, ... }@args:
|
|
|
|
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
|
|
)
|