this post was submitted on 19 Jun 2024
20 points (95.5% liked)

Nix / NixOS

1732 readers
1 users here now

Main links

Videos

founded 1 year ago
MODERATORS
 

I'm a beginner/intermediate in NixOS and my flake rebuild takes about 25 seconds to be finished. Most of the time is evaluating derivation for some reason and it's getting kinda frustrating having to wait when I want to add a package to my config. Has anyone the same problem or is it normal that it takes this long in Nix?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 4 months ago

I agree that adding every package to my NixOS configuration isn't the right way to do things, and I should definitely use a devshell or nix-shell -p $package for that. However, it's much more noticeable when I'm working with something like an HTTP server, constantly adding new things to the config, and needing to wait 25 seconds to actually test it.