nlewo/comin

Avoid Nix evaluation on the target

colemickens opened this issue · 2 comments

Hi,

This looks very close to a tool I've been imagining in my head.

In my case, my CI (which is busted for other reasons), outputs it's built toplevels like this: https://github.com/colemickens/nixcfg/tree/3e5bf65bebeae617310a3624803d90d4abedc9ff/.latest

So, it would be nice to pass a path through to comin to tell it to just read an outPath rather than doing an eval. This would make comin more useful on really memory-starved targets that probably can't eval their own configuration.

@colemickens Thanks for this topic!

I find it really interesting, but i don't think I will start working/thinking on this soon.

For the record, this NixOS discourse comment proposes to use Git orphan branches to store built switch-to-configuration store paths.