[Nix-dev] Re: Newbie question

Ludovic Courtès ludo at gnu.org
Wed Apr 2 21:52:36 CEST 2008


Hi,

pjotr2008 at thebird.nl (Pjotr Prins) writes:

> Everytime I run nix it parses all the packages - and that takes a while.
>
> Is this necessary?

The short answer is "yes": it has to parse and read all packages to
fetch their `name' attribute.  As Yurii mentioned, this is not necessary
with `-Ai' where you specify an attribute name rather than the actual
package name.

Besides, there was a fix recently that makes `nix-env -i' noticeably
faster.  What version are you using?

Thanks,
Ludovic.




More information about the nix-dev mailing list