Skip to content

use_nix: always restore special variables#1424

Merged
Mic92 merged 1 commit intodirenv:masterfrom
timbertson:nix-tmp
Apr 24, 2025
Merged

use_nix: always restore special variables#1424
Mic92 merged 1 commit intodirenv:masterfrom
timbertson:nix-tmp

Conversation

@timbertson
Copy link
Copy Markdown
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
Copy Markdown
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