core/pkgs/build-support/fetchgitea/default.nix

10 lines
195 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
# Gitea's URLs are compatible with GitHub
{ lib, fetchFromGitHub }:
lib.makeOverridable (
{ domain, ... }@args:
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
)