summary refs log tree commit diff
path: root/pkgs/build-support/fetchgitea/default.nix
blob: 513ceba861cbbd8453f0a679f3e64307cdf070e8 (plain) (blame)
1
2
3
4
5
6
7
8
9
# Gitea's URLs are compatible with GitHub

{ lib, fetchFromGitHub }:

lib.makeOverridable (
{ domain, ... }@args:

fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
)