-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tar download very slow #10683
Comments
I can reproduce this on a 1Gbps connection, I am taking over 10 min's to download the tarball when I run the following command on a fresh nix install: |
Can you check if the slow performance also happens with Nix 2.20 ( |
I was having the same problem with centos7, (inside a container), works well in an ubuntu host, using the latest nix from unstable. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2024-05-15-nix-team-meeting-minutes-146/45491/1 |
2.20.6 is A LOT faster for me. With 2.21 it's slow again |
I can confirm, 2.20.6 is a lot faster for me as well. Same issue persists on verison 2.21.2. |
Describe the bug
When running
nix flake update
, it downloads thetar.gz
file, which takes a lot of time. This usually takes me a minute, but for my colleagues, it takes some time up to half an hour.The same download using curl takes just a second:
I suspect that Nix does a range download and GitHub does not like that and have to export the tar always again from GIt 🤔
Steps To Reproduce
nix flake update
so nixpkgs fetches the new tarballExpected behavior
A clear and concise description of what you expected to happen.
nix-env --version
outputAdditional context
Add any other context about the problem here.
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: