Skip to content

[UX] print statement for recomputing the nixEnv #1521

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

Merged
merged 3 commits into from
Oct 3, 2023

Conversation

savil
Copy link
Collaborator

@savil savil commented Oct 2, 2023

Summary

This print-dev-env calculation may be a bit slow, so we should print a statement
for the waiting user.

I do this in ensurePackagesAreInstalled, instead of in nix.PrintDevEnv because otherwise we can print it 3x due to our cache misses.

Note, this PR is focussed on the least-risky change for the release to improve UX for improved wait times on switching to Remove Nixpkgs mode.

How was it tested?

compiles

Copy link
Collaborator Author

savil commented Oct 2, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@savil savil requested review from mikeland73 and Lagoja October 3, 2023 00:22
@savil savil merged commit e008f3b into main Oct 3, 2023
@savil savil deleted the savil/print-recompute-shellenv branch October 3, 2023 00:41
Lagoja pushed a commit that referenced this pull request Oct 3, 2023
## Summary

This print-dev-env calculation may be a bit slow, so we should print a
statement
for the waiting user.

I do this in `ensurePackagesAreInstalled`, instead of in
`nix.PrintDevEnv` because otherwise we can print it 3x due to our cache
misses.

Note, this PR is focussed on the least-risky change for the release to
improve UX for improved wait times on switching to Remove Nixpkgs mode.

## How was it tested?

compiles

(cherry picked from commit e008f3b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants