diff options
author | Artturi <Artturin@artturin.com> | 2022-11-04 20:29:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-04 20:29:38 +0200 |
commit | 1cdecacb7918fbcebfa41ae6597dc166a3a8a097 (patch) | |
tree | f5accc1ba7867f7c5d31f50ecc978be2674495e2 /pkgs | |
parent | 7744e47b09f1fd6f65f0ed3b9f4bb321922ae424 (diff) | |
parent | 19d2bb4863b4493e69de453d4a69cac29947e401 (diff) |
Merge pull request #198489 from Artturin/fetchgitlabremoteavvt
fetchFromGitLab: don't passthruAttrs fetchGit specific attrs to fetchUrl
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/build-support/fetchgitlab/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgitlab/default.nix b/pkgs/build-support/fetchgitlab/default.nix index 264bbcf3f761d..5cdd04fc46ce8 100644 --- a/pkgs/build-support/fetchgitlab/default.nix +++ b/pkgs/build-support/fetchgitlab/default.nix @@ -10,7 +10,7 @@ let slug = lib.concatStringsSep "/" ((lib.optional (group != null) group) ++ [ owner repo ]); escapedSlug = lib.replaceStrings [ "." "/" ] [ "%2E" "%2F" ] slug; escapedRev = lib.replaceStrings [ "+" "%" "/" ] [ "%2B" "%25" "%2F" ] rev; - passthruAttrs = removeAttrs args [ "protocol" "domain" "owner" "group" "repo" "rev" ]; + passthruAttrs = removeAttrs args [ "protocol" "domain" "owner" "group" "repo" "rev" "fetchSubmodules" "leaveDotGit" "deepClone" ]; useFetchGit = deepClone || fetchSubmodules || leaveDotGit; fetcher = if useFetchGit then fetchgit else fetchzip; |