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?

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    2
    ·
    11 days 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