prevent direnv from blocking #147

Closed
opened 2024-10-19 20:23:10 +00:00 by kiaragrouwstra · 2 comments
Contributor

the .envrc now blocks until use flake resolves, unless canceled.
this may be not ideal: it may be nicer to have it load cached environments, without eagerly building new ones while blocking the shell.
such a lazier behavior may be found in e.g. lorri.

the `.envrc` now [blocks](https://git.lix.systems/the-distro/infra/src/branch/main/.envrc#L2) until `use flake` resolves, unless canceled. this may be [not ideal](https://dev.to/allenap/some-direnv-best-practices-actually-just-one-4864): it may be nicer to have it load cached environments, without eagerly building new ones while blocking the shell. such a lazier behavior may be found in e.g. [`lorri`](https://github.com/nix-community/lorri).
Owner

@kiaragrouwstra Are you willing to give a try to implement this?

@kiaragrouwstra Are you willing to give a try to implement this?
Author
Contributor

@raito sure, i added a PR over at #148

@raito sure, i added a PR over at https://git.lix.systems/the-distro/infra/pulls/148
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: the-distro/infra#147
No description provided.