Comments (7)
2.20.6 is A LOT faster for me. With 2.21 it's slow again
from nix.
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:
echo "Hello world" | nix run "nixpkgs#cowsay"
from nix.
Can you check if the slow performance also happens with Nix 2.20 (nix shell nix/2.20.6
)? It might be related to the Git-based tarball cache that we started using in 2.21.
from nix.
I was having the same problem with centos7, (inside a container), works well in an ubuntu host, using the latest nix from unstable.
from nix.
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
from nix.
I can confirm, 2.20.6 is a lot faster for me as well. Same issue persists on verison 2.21.2.
from nix.
I have the same problem on a 1Gbps connection.
from nix.
Related Issues (20)
- enable clang's `-Wdocumentation` for doc-comments?
- Missing information at "docker" instalation process
- Evaluation error in flake regression test suite HOT 7
- Add option to only substitute fixed-output derivations
- empty derivation and can't repair the various wrong store paths, thus blocking nixos-rebuild HOT 2
- unable to create build users HOT 1
- tailscale ssh auth prompt blocks distributed builds because stdout is captured
- `nix log --last`
- `fetchTree`/`github:`: add `merge` argument HOT 6
- Lazy, async instantiation and fetching (tracking)
- Cross-builds failing on "struct statvfs"
- Build failure on x86_64-darwin due to aws-sdk-cpp dependency HOT 1
- `nix path-info --derivation <path>` gives different deriver than `nix path-info <path> --json | jq .[].deriver`
- Failed to reinstall on macOS 15.0 HOT 1
- Cannot lock unlocked input HOT 1
- cli: Match multiple --out-link for multiple installables
- daemon socket not found HOT 3
- Conflict: /etc/bashrc already exists as a symlink from a previous nix install HOT 1
- nix 2.23.3 run cache performance regression HOT 1
- Progress bar says `N copied (M failed)` but no details HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.