diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-12 20:26:20 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-12 20:26:20 +0100 |
commit | 71a024e1f6e0d2263b5249d65b92ef5c14010a79 (patch) | |
tree | ab55bf5468da1dd4c27db74f1d1e9d7b24f3cfff /pkgs/build-support | |
parent | c28c56f3790762920f3c9849b05a69fc8b9848f6 (diff) | |
download | nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.tar nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.tar.gz nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.tar.bz2 nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.tar.lz nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.tar.xz nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.tar.zst nixlib-71a024e1f6e0d2263b5249d65b92ef5c14010a79.zip |
fetchFromGitHub: drop unzip
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/fetchgithub/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/fetchgithub/default.nix b/pkgs/build-support/fetchgithub/default.nix index a2498700b545..15632d30f744 100644 --- a/pkgs/build-support/fetchgithub/default.nix +++ b/pkgs/build-support/fetchgithub/default.nix @@ -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 |