MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.97k stars 523 forks source link

Granular nix prototype #15608

Open georgeee opened 2 months ago

georgeee commented 2 months ago

Implement nix integration in a way to allow packages to be built "granularly".

I.e. not just initiating an environment and running make build, but rather let nix know about Mina codebase on per-package (per-library) level. This approach unlocks nix caching the infrequently-changed libraries and reusing these dependencies.

Branch: georgeee/granular-nix.