Skip to content

use_nix: always restore special variables #1424

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 1 commit into from
Apr 24, 2025
Merged

Conversation

timbertson
Copy link
Contributor

@timbertson timbertson commented Apr 24, 2025

#1409 added code to restore special envvars (yay), but it was inside the check which only happens when there are no arguments.

Moving the code block up means this works in cases like use nix -p go, not only use nix.

@Mic92 Mic92 merged commit 38f5675 into direnv:master Apr 24, 2025
14 checks passed
@timbertson
Copy link
Contributor Author

Hi @Mic92 , any chance of a release for this one?

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