mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
10 lines
195 B
Nix
10 lines
195 B
Nix
# Gitea's URLs are compatible with GitHub
|
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
lib.makeOverridable (
|
|
{ domain, ... }@args:
|
|
|
|
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
|
|
)
|