fetchFromGitHub: drop unzip

This commit is contained in:
Weijia Wang 2024-01-12 20:26:20 +01:00
parent c28c56f379
commit 71a024e1f6

View File

@ -28,7 +28,7 @@ let
useFetchGit = fetchSubmodules || (leaveDotGit == true) || deepClone || forceFetchGit || (sparseCheckout != []);
# We prefer fetchzip in cases we don't need submodules as the hash
# is more stable in that case.
fetcher = if useFetchGit then fetchgit else fetchzip;
fetcher = if useFetchGit then fetchgit else fetchzip.override { withUnzip = false; };
privateAttrs = lib.optionalAttrs private {
netrcPhase = ''
if [ -z "''$${varBase}USERNAME" -o -z "''$${varBase}PASSWORD" ]; then