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

Nix / NixOS

1762 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
[–] onlinepersona@programming.dev 0 points 5 months ago

My changes take maybe a few seconds less, but I find that quite normal. It could be faster, but let's be honest how often does one run that? I run it maybe once a week or once a month. 25 seconds a week is nothing to me.

Normally I test packages with nix-shell -p $package then when I'm satisfied, it goes into my configuration and the time to do so doesn't matter anymore.

Anti Commercial-AI license