Nix-based CI can get really nice caching once you set it up properly. This is a run where none of the actual code changes. Only slow thing is the "nix develop" which builds the dev environment. It spends all it's time downloading from a remote cache. But once I move this to a self-hosted runner, then that cache can exist locally on the machine and this will also take just a few seconds.

None of this tooling depends on GitHub's way of doing things, which is nice. No vendor lockin.

Reply to this note

Please Login to reply.

Discussion

Can you share the link to the project, please?

https://github.com/justinmoon/bar

It's just a little demo of a mobile app development toolkit i'm making. But the nix setup is pretty nice.

Thank you. Wasabi also has a nix-based CI but we still have to improve it. I will check what I can learn from your setup.

I learned pretty much everything I know from http://github.com/dpc

He's pretty easy to contact via twitter or fedimint's discord. He's a nix wizard!

holy moly, does this guy ever hate javascript.