nmattia / niv

Easy dependency management for Nix projects
https://github.com/nmattia/niv
MIT License
1.55k stars 77 forks source link

Concurrency and sexy logging #73

Open nmattia opened 5 years ago

nmattia commented 5 years ago

Right now niv updates packages one after the other. This can be slow if the nix/sources.json contains lots of packages.

There's a branch somewhere that simply calls (something similar to) forConcurrently when iterating over the packages to upgrade. The main drawback is that all outputs get mangled.

I recently played with an idea for a logger (I unfortunately lost the niv branch):

Kleidukos commented 5 years ago

Have you considered using concurrent-output?

nmattia commented 5 years ago

That looks very promising!