-
Notifications
You must be signed in to change notification settings - Fork 260
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
feat: add nix caching #1082
base: main
Are you sure you want to change the base?
feat: add nix caching #1082
Conversation
Why don't we use This also needs to respect |
|
Could you explain the goal of this PR? Then it makes it easier to discuss possible implementations :) |
Make |
So kind of like direnv caching without direnv? |
Yes excactly |
I'll tackle this shortly, it's important to get back to blazing fast :) |
further random idea: Could we get from one Instead of right now doing three nix commands, we could do only one 🤔 |
That's actually what I'm exploring, we'd need to reimplement print-dev-env in Rust and then we got it all. Will post results as soon as I get something working! |
devenv up
anddevenv shell
nix develop
with just invoking the user shell, therefore we use still the normal shellcargo build
--no-cache
flag to skip cachingFixes #1079
No cache:
Cached environment execution:
Native without devenv