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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
195 B
Nix
Raw Permalink Normal View History

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