Slow rebuild (single threaded) #619
Answered
by
taki-sahli
taki-sahli
asked this question in
Q&A
-
Hello, Can you help me fix this issue. |
Beta Was this translation helpful? Give feedback.
Answered by
taki-sahli
Feb 16, 2025
Replies: 1 comment 1 reply
-
This is probably not an issue specific to WSL. Was it stuck on the same derivation ( |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, actualy it was all derivations, the build in the screenshot took 6 hours to finish.
I found the cause the problem, it was the
sudo
command, when I runsudo nixos-rebuild switch
, it was super slow, but when I runnixos-rebuild build
, it was super fast, so now I'm using this script to switch:For remote, I use this command:
Reference: https://discourse.nixos.org/t/can-i-run-nixos-rebuild-switch-flake-rootless/14610/3