fetchgitlab: fix unexpected argument
This commit is contained in:
parent
da059cffc1
commit
80a1a44c70
|
@ -10,7 +10,7 @@ let
|
||||||
slug = lib.concatStringsSep "/" ((lib.optional (group != null) group) ++ [ owner repo ]);
|
slug = lib.concatStringsSep "/" ((lib.optional (group != null) group) ++ [ owner repo ]);
|
||||||
escapedSlug = lib.replaceStrings [ "." "/" ] [ "%2E" "%2F" ] slug;
|
escapedSlug = lib.replaceStrings [ "." "/" ] [ "%2E" "%2F" ] slug;
|
||||||
escapedRev = lib.replaceStrings [ "+" "%" "/" ] [ "%2B" "%25" "%2F" ] rev;
|
escapedRev = lib.replaceStrings [ "+" "%" "/" ] [ "%2B" "%25" "%2F" ] rev;
|
||||||
passthruAttrs = removeAttrs args [ "domain" "owner" "group" "repo" "rev" ];
|
passthruAttrs = removeAttrs args [ "protocol" "domain" "owner" "group" "repo" "rev" ];
|
||||||
|
|
||||||
useFetchGit = deepClone || fetchSubmodules || leaveDotGit;
|
useFetchGit = deepClone || fetchSubmodules || leaveDotGit;
|
||||||
fetcher = if useFetchGit then fetchgit else fetchzip;
|
fetcher = if useFetchGit then fetchgit else fetchzip;
|
||||||
|
|
Loading…
Reference in a new issue