1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/build-support/fetchgitea/default.nix
2021-05-27 09:35:56 +02:00

8 lines
171 B
Nix

# Gitea's URLs are compatible with GitHub
{ lib, fetchFromGitHub }:
{ domain, ... }@args:
fetchFromGitHub ((removeAttrs args [ "domain" ]) // { githubBase = domain; })