mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
8 lines
171 B
Nix
8 lines
171 B
Nix
|
# Gitea's URLs are compatible with GitHub
|
||
|
|
||
|
{ lib, fetchFromGitHub }:
|
||
|
|
||
|
{ domain, ... }@args:
|
||
|
|
||
|
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })
|