nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
639 stars 24 forks source link

Use sqlite #124

Open Profpatsch opened 2 months ago

Profpatsch commented 2 months ago
nyarly commented 2 months ago

I'm not following the motivation here.

Based on the commit messages, I can see some ideas about potential features that would come out of this, but I think the folks who are or might use Lorri are looking for two things: GC root setups and flakes and I'd like to prioritize getting those done.

Profpatsch commented 2 months ago

GC root setups and flakes and I'd like to prioritize getting those done.

Yeah, I feel like flakes are kind of important; but I personally don’t use them yet, so I don’t have a huge motivation to work on them. I’ll of course review any changes to them.

I'm not following the motivation here.

The motivation is that I want lorri to keep around info between runs, more than the current GC roots. And a small database file is the easiest setup for that.

In particular, adding timings to previous evaluation and build times of files, so that lorri can estimate how long a change is gonna take to build.