-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(nix): Fix dependency caching #1421
Conversation
I should have switched this to a draft, as I'm still trying to look at the cache results |
23a156a
to
3139ca1
Compare
You mean the performance difference? |
Making sure I'm seeing the same results in CI as I saw locally. There's a subtle difference in how the nix store is restored in CI so I wanted to make sure this is working. |
Looks like it is working the same. Running |
This reverts commit 9081ec9.
This reverts commit 9081ec9.
This reverts commit 9081ec9.
Description
Problem*
Resolves #1303
Summary*
This updates the flake to enable better caching. When building the dependencies, we were injecting the
GIT_COMMIT
andGIT_DIRTY
variables, which made the dependencies rebuild from scratch on each commit. It also reworks the flake to have better delineation between native backend and wamer backend build targets (this will avoid needing the bb.wasm file during checks).Documentation
This PR requires documentation updates when merged.
Additional Context
PR Checklist*
cargo fmt
on default settings.